fix(legacy): bypass config validation during django migration

This commit is contained in:
jo 2022-04-25 15:42:28 +02:00 committed by Kyle Robbertze
parent 241105f0a0
commit 88e618e802
1 changed files with 1 additions and 1 deletions

View File

@ -294,6 +294,6 @@ class DatabaseSetup extends Setup
*/
private function updateDjangoTables()
{
shell_exec('LIBRETIME_CONFIG_FILEPATH=' . INSTALLER_CONFIG_FILEPATH . ' libretime-api migrate');
shell_exec('DJANGO_SETTINGS_MODULE=libretime_api.settings.testing LIBRETIME_CONFIG_FILEPATH=' . INSTALLER_CONFIG_FILEPATH . ' libretime-api migrate');
}
}