From bbb38aa825ff143f3216d5df5b3053e9dd358483 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Fri, 20 May 2022 21:59:51 +0200 Subject: [PATCH] Make sure to stamp database at latest revision after setup --- populate-db.sh | 3 +++ 1 file changed, 3 insertions(+) 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