mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-03 09:26:22 +01:00
Fix migrations upgrade and downgrade
+ Add option to disable auto migrate
This commit is contained in:
@@ -9,6 +9,10 @@
|
||||
*/
|
||||
defined('MYAAC') or die('Direct access not allowed!');
|
||||
|
||||
if (!config('database_auto_migrate')) {
|
||||
return;
|
||||
}
|
||||
|
||||
// database migrations
|
||||
$tmp = '';
|
||||
if(fetchDatabaseConfig('database_version', $tmp)) { // we got version
|
||||
|
||||
Reference in New Issue
Block a user