Update: 2026-06-29 00:26:08
This commit is contained in:
10
add_admin_country.php
Normal file
10
add_admin_country.php
Normal 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__);
|
||||
Reference in New Issue
Block a user