How do I apply migrations? #160
-
I followed the installation instructions in the README and I can successfully start the app. Here are the steps I followed: cp cres/db.sqlite standards_cache.sqlite
make install
make dev-run The app starts fine. But when I click on a standard from the footer of the homepage, eg Looking at the server logs, I think the issue lies here: I tried applying the migration via $ make migrate-upgrade
[ -d "./venv" ] && . ./venv/bin/activate
export FLASK_APP=/Users/ping/Desktop/Git/common-requirement-enumeration/cre.py
flask db upgrade
Usage: flask db upgrade [OPTIONS] [REVISION]
Error: Could not import "cre".
make: *** [migrate-upgrade] Error 2 Any suggestions on how I can apply the migrations? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There was a bug on make migrations it is now fixed, can you please try again? |
Beta Was this translation helpful? Give feedback.
There was a bug on make migrations it is now fixed, can you please try again?