Update: 2026-06-29 00:26:08

This commit is contained in:
Hamza-Ayed
2026-06-29 00:26:08 +03:00
parent 03f26ce825
commit 9cc14864a3
5 changed files with 11 additions and 44 deletions

10
add_admin_country.php Normal file
View File

@@ -0,0 +1,10 @@
<?php
require_once __DIR__ . '/backend/core/bootstrap.php';
try {
$con = Database::get('main');
$con->exec("ALTER TABLE adminUser ADD COLUMN country VARCHAR(100) DEFAULT 'Jordan'");
echo "SUCCESS: Added country column to adminUser\n";
} catch (Exception $e) {
echo "INFO: " . $e->getMessage() . "\n";
}
unlink(__FILE__);