You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, I've tried reading the documentation and from what I understand the issue is MigrateCommand doesn't exist in the first place with newer versions of Flask-Migrate migrate in which you can't use the manager.add_command method from Flask-Script. I've read the guide and do I even need to use the manager.add_command or it's successor Flask-Cli's equivalent?
You could use pip install --force-reinstall flask_migrate==2.5.2 and afterwards same trick with flask-script. I would recommend doing this in a virtual env, since you only need it for this one instance.
See: miguelgrinberg/Flask-Migrate#407
should migrate to flask CLI: https://blog.miguelgrinberg.com/post/migrating-from-flask-script-to-the-new-flask-cli
The text was updated successfully, but these errors were encountered: