Set migration stuff up properly (forgot to before, oops).
This commit is contained in:
parent
56099200ba
commit
233781a0f2
2 changed files with 1 additions and 2 deletions
|
@ -9,7 +9,7 @@ use Misuzu\DatabaseMigrationManager;
|
||||||
require_once __DIR__ . '/misuzu.php';
|
require_once __DIR__ . '/misuzu.php';
|
||||||
|
|
||||||
define('MSZ_MIGRATABLE_DATABASES', [
|
define('MSZ_MIGRATABLE_DATABASES', [
|
||||||
'mysql-test' => __DIR__ . '/database',
|
'mysql-main' => __DIR__ . '/database',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
function migrate_log($log): void
|
function migrate_log($log): void
|
||||||
|
|
|
@ -26,7 +26,6 @@ class Application extends ApplicationBase
|
||||||
*/
|
*/
|
||||||
private const DATABASE_CONNECTIONS = [
|
private const DATABASE_CONNECTIONS = [
|
||||||
'mysql-main',
|
'mysql-main',
|
||||||
'mysql-test',
|
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue