sql script fix

This commit is contained in:
Sam 2018-09-09 14:16:58 +02:00
parent 464b77778c
commit b949366b9f
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
DROP DATABASE IF EXISTS fittrackee; DROP DATABASE IF EXISTS fittrackee;
DROP DATABASE IF EXISTS fittrackee_test; DROP DATABASE IF EXISTS fittrackee_test;
DROP USER fittrackee; DROP USER IF EXISTS fittrackee;
CREATE DATABASE fittrackee; CREATE DATABASE fittrackee;
CREATE DATABASE fittrackee_test; CREATE DATABASE fittrackee_test;

View File

@ -8,7 +8,7 @@ inspect() {
fi fi
} }
docker-compose -f docker-compose-ci.yml run fittrackee-api py.test fittrackee_api docker-compose -f docker-compose-ci.yml run fittrackee-api py.test fittrackee_api -p no:warnings
inspect $? api inspect $? api
docker-compose -f docker-compose-ci.yml run fittrackee-api flask db upgrade docker-compose -f docker-compose-ci.yml run fittrackee-api flask db upgrade