Move the code over from private repository (#3)
This commit is contained in:
6
run_alembic_check.sh
Executable file
6
run_alembic_check.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
# first apply migrations
|
||||
export PATH=$PATH:.venv/bin
|
||||
alembic upgrade head
|
||||
# then check if the database is up to date with the models
|
||||
alembic check
|
||||
Reference in New Issue
Block a user