fix: running tenants migration on docker migration container

This commit is contained in:
Ahmed Bouhuolia
2023-09-25 15:31:09 +02:00
parent 597973d5d1
commit efebf424d1
3 changed files with 16 additions and 6 deletions

View File

@@ -0,0 +1,5 @@
# Migrate the master system database.
./wait-for-it/wait-for-it.sh mysql:3306 -- node ./build/commands.js system:migrate:latest
# Migrate all tenants.
./wait-for-it/wait-for-it.sh mysql:3306 -- node ./build/commands.js tenants:migrate:latest