flask-migrate doesn't detect models
Make sure your model is imported by your app. In most cases your views.py
should do that. But you can also import it directly from your app.py
.
Make sure your model is imported by your app. In most cases your views.py
should do that. But you can also import it directly from your app.py
.