mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 14:17:46 +00:00
Fix running migrations
Migrations were being done on openedx-assets, which does not depend on mysql. As a consequence, the mysql container was not being created on "migrate" and migrations were failing with "Timeout after 20s".
This commit is contained in:
parent
acbd5ae371
commit
92d7e7c418
@ -8,7 +8,8 @@ def migrate(root, run_func):
|
||||
config = tutor_config.load(root)
|
||||
|
||||
click.echo(fmt.info("Creating all databases..."))
|
||||
run_template(root, config, "openedx-assets", "create_databases.sh", run_func)
|
||||
# Note: run this only when lms is activated?
|
||||
run_template(root, config, "lms", "create_databases.sh", run_func)
|
||||
|
||||
if config["ACTIVATE_LMS"]:
|
||||
click.echo(fmt.info("Running lms migrations..."))
|
||||
|
Loading…
Reference in New Issue
Block a user