Files
bigcapital/docker/migration/start.sh
2023-10-12 11:07:11 +11:00

5 lines
252 B
Bash

# Migrate the master system database.
./wait-for-it/wait-for-it.sh ${DB_HOST}:3306 -- node ./build/commands.js system:migrate:latest
# Migrate all tenants.
./wait-for-it/wait-for-it.sh ${DB_HOST}:3306 -- node ./build/commands.js tenants:migrate:latest