From db75aa696523a48a021eb3b1608a5d927cfeff80 Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 24 Apr 2022 15:12:22 +0200 Subject: [PATCH] Docker - update scripts w/ new CLI commands --- docker/init-database.sh | 4 ++-- docker/set-admin.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/init-database.sh b/docker/init-database.sh index c89017b9..a013b0df 100755 --- a/docker/init-database.sh +++ b/docker/init-database.sh @@ -4,5 +4,5 @@ cd /usr/src/app source .env.docker -flask drop-db -flask db upgrade --directory fittrackee/migrations \ No newline at end of file +ftcli db drop +ftcli db upgrade \ No newline at end of file diff --git a/docker/set-admin.sh b/docker/set-admin.sh index 04f94441..f3d57f1b 100755 --- a/docker/set-admin.sh +++ b/docker/set-admin.sh @@ -4,4 +4,4 @@ cd /usr/src/app source .env.docker -flask users set-admin $1 +ftcli users update $1 --set-admin true