This commit is contained in:
2025-05-18 00:36:16 -05:00
parent 68c069f02a
commit 2e2997afb6
2 changed files with 80 additions and 0 deletions

View File

@ -32,6 +32,9 @@ services:
echo '[✔] Waiting for MySQL to be ready...'
until nc -z ${MYSQL_HOST} ${MYSQL_PORT}; do sleep 1; done
echo '[] Autogenerating migration...'
flask db migrate -m 'auto' || echo '[] No changes detected.'
echo '[✔] Running DB migrations...'
flask db upgrade