<?php
require_once __DIR__ . '/config.php';
try {
    $db = getDB();
    $db->exec("ALTER TABLE apps ADD COLUMN app_domain VARCHAR(255) DEFAULT NULL AFTER app_name");
    echo "Column app_domain added successfully.";
} catch (Exception $e) {
    echo "Error: " . $e->getMessage();
}
