Flask-Migrate fix
This commit is contained in:
parent
90201d4dd1
commit
3fcd2cec71
@ -41,7 +41,6 @@ before_script:
|
||||
|
||||
script:
|
||||
- psql -c 'create database mpwo_test;' -U postgres
|
||||
- docker-compose -f docker-compose-ci.yml run mpwo-api flask db migrate
|
||||
- docker-compose -f docker-compose-ci.yml run mpwo-api flask db upgrade
|
||||
- sh test.sh
|
||||
|
||||
|
1
Makefile
1
Makefile
@ -8,7 +8,6 @@ make-p:
|
||||
|
||||
init-db:
|
||||
$(FLASK) drop_db
|
||||
$(FLASK) db migrate
|
||||
$(FLASK) db upgrade
|
||||
$(FLASK) init_data
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
"""empty message
|
||||
|
||||
Revision ID: 9741fc7834da
|
||||
Revises:
|
||||
Revises:
|
||||
Create Date: 2018-01-20 18:59:49.200032
|
||||
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user