Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenliang123 committed Jun 17, 2024
1 parent b2a8b07 commit 357cfad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/db-migration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ jobs:
- name: Run DB Migration
run: |
cd api
poetry run python -m flask db-migrate
poetry run python -m flask upgrade-db
2 changes: 1 addition & 1 deletion api/docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

if [[ "${MIGRATION_ENABLED}" == "true" ]]; then
echo "Running migrations"
flask db-migrate
flask upgrade-db
fi

if [[ "${MODE}" == "worker" ]]; then
Expand Down

0 comments on commit 357cfad

Please sign in to comment.