sql script fix
This commit is contained in:
parent
464b77778c
commit
b949366b9f
@ -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;
|
||||||
|
2
test.sh
2
test.sh
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user