From b662a3a4d171732722265c8427ecf0dde6ba0418 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Tue, 4 Oct 2022 13:02:11 +0200 Subject: [PATCH] Configure migrate to detect type changes in models --- app/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/__init__.py b/app/__init__.py index 294421dc..78e208d1 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -24,7 +24,7 @@ login.login_view = 'auth.login' login.login_message = 'Please log in to access this page.' ma = Marshmallow() mail = Mail() -migrate = Migrate() +migrate = Migrate(compare_type=True) paranoid = Paranoid() paranoid.redirect_view = '/' scheduler = APScheduler()