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