Skip to content

Commit

Permalink
Enhance alembic_check.sh by adding 'alembic stamp head' command befor…
Browse files Browse the repository at this point in the history
…e running the Alembic check to ensure the database is at the latest migration version.
  • Loading branch information
quang-ng committed Dec 4, 2024
1 parent e121799 commit 7843339
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions alembic_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ echo "=================================="

# Run alembic check
echo "Running alembic check..."
alembic stamp head
alembic check

# Store the exit code
Expand Down

0 comments on commit 7843339

Please sign in to comment.