Rebuild Alpha V2.4
This commit is contained in:
parent
72e181b641
commit
9ba4ad40ae
11
fix_column_migration.php
Normal file
11
fix_column_migration.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
require_once 'db/config.php';
|
||||
try {
|
||||
$db = db();
|
||||
$sql = "ALTER TABLE celestial_object_status_rules ADD COLUMN is_active TINYINT(1) DEFAULT 1;";
|
||||
$db->exec($sql);
|
||||
echo "Colonne 'is_active' ajoutée avec succès.";
|
||||
} catch (Exception $e) {
|
||||
echo "Erreur : " . $e->getMessage();
|
||||
}
|
||||
?>
|
||||
Loading…
x
Reference in New Issue
Block a user