@@ -14,6 +14,9 @@ require_once __DIR__ . '/../config/database.php';
|
||||
|
||||
$db = getDbConnection();
|
||||
|
||||
// Ensure notes column exists
|
||||
try { $db->exec("ALTER TABLE network_nodes ADD COLUMN notes TEXT DEFAULT '' AFTER group_name"); } catch (Exception $e) {}
|
||||
|
||||
// Auth check (except for session check)
|
||||
$path = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
|
||||
$path = str_replace('/api/', '', $path);
|
||||
|
||||
Reference in New Issue
Block a user