Make sure to stamp database at latest revision after setup
This commit is contained in:
parent
f87f3c5446
commit
bbb38aa825
1 changed files with 3 additions and 0 deletions
|
@ -4,3 +4,6 @@ set -euo pipefail
|
||||||
cd "$(dirname "$0")/app"
|
cd "$(dirname "$0")/app"
|
||||||
|
|
||||||
env python create_database.py setup_database
|
env python create_database.py setup_database
|
||||||
|
latest_revision=$(env python app.py db heads | sed "s/ (head)$//")
|
||||||
|
echo Stamping db at $latest_revision
|
||||||
|
env python app.py db stamp $latest_revision
|
||||||
|
|
Loading…
Reference in a new issue