I am using Flask, Flask-SqlAlchemy and Flask-Migrate to manage my models. And I just realize that in my latest database state, when I create a new migration file, python manage.py db migrate -m'test migration
, it will not create an empty migration file. Instead it tries to create and drop several unique key and foreign key constraints.
Any ideas why it behaves like this?