mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 09:19:22 +02:00
Execute updated migrations with $up() function
This commit is contained in:
parent
5782772b90
commit
17210b717f
@ -62,16 +62,21 @@ DataLoader::load();
|
||||
|
||||
// update config.highscores_ids_hidden
|
||||
require_once SYSTEM . 'migrations/20.php';
|
||||
$up();
|
||||
|
||||
// add z_polls tables
|
||||
require_once SYSTEM . 'migrations/22.php';
|
||||
$up();
|
||||
|
||||
// add myaac_pages pages
|
||||
require_once SYSTEM . 'migrations/27.php';
|
||||
$up();
|
||||
require_once SYSTEM . 'migrations/30.php';
|
||||
$up();
|
||||
|
||||
// new monster columns
|
||||
require_once SYSTEM . 'migrations/31.php';
|
||||
$up();
|
||||
|
||||
if(ModelsFAQ::count() == 0) {
|
||||
ModelsFAQ::create([
|
||||
|
Loading…
x
Reference in New Issue
Block a user