diff --git a/populate-db.sh b/populate-db.sh index a9e9fad..417dc37 100755 --- a/populate-db.sh +++ b/populate-db.sh @@ -4,3 +4,6 @@ set -euo pipefail cd "$(dirname "$0")/app" 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