<?php
require '../vendor/autoload.php';
require '../config.php';
use AppDatabaseDatabase;
$db = App\Database\Database::getInstance();
$db->exec('ALTER TABLE items ADD COLUMN id_code TEXT UNIQUE');
$db->exec('ALTER TABLE items ADD COLUMN image TEXT');
$db->exec('ALTER TABLE items ADD COLUMN location TEXT');
echo 'Columns added to items table.\n';
