mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-03 17:26:23 +01:00
Fix migrations upgrade and downgrade
+ Add option to disable auto migrate
This commit is contained in:
@@ -11,7 +11,8 @@ $up = function () use ($db) {
|
||||
};
|
||||
|
||||
$down = function () use ($db) {
|
||||
if ($db->hasTable(TABLE_PREFIX . 'settings')) {
|
||||
$db->dropTable(TABLE_PREFIX . 'settings');
|
||||
}
|
||||
// will break the aac
|
||||
//if ($db->hasTable(TABLE_PREFIX . 'settings')) {
|
||||
// $db->dropTable(TABLE_PREFIX . 'settings');
|
||||
//}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user