Merge pull request #194 from ZeusWPI/chore/stamp-db-after-init
Make sure to stamp database at latest revision after setup
This commit is contained in:
commit
2c4a288d4e
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