Configure migrate to detect type changes in models

This commit is contained in:
Patrick Jentsch 2022-10-04 13:02:11 +02:00
parent dc86c1e85d
commit b662a3a4d1

View File

@ -24,7 +24,7 @@ login.login_view = 'auth.login'
login.login_message = 'Please log in to access this page.' login.login_message = 'Please log in to access this page.'
ma = Marshmallow() ma = Marshmallow()
mail = Mail() mail = Mail()
migrate = Migrate() migrate = Migrate(compare_type=True)
paranoid = Paranoid() paranoid = Paranoid()
paranoid.redirect_view = '/' paranoid.redirect_view = '/'
scheduler = APScheduler() scheduler = APScheduler()