From ca44ccbe1cb05bb6cb7b208104210c2a21c4aea7 Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Thu, 29 Dec 2022 17:02:05 +0100 Subject: [PATCH] Use the size other implementations default to --- core/admin/mailu/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/admin/mailu/models.py b/core/admin/mailu/models.py index 9b308b32..f9fabb7f 100644 --- a/core/admin/mailu/models.py +++ b/core/admin/mailu/models.py @@ -75,7 +75,7 @@ class CommaSeparatedList(db.TypeDecorator): """ Stores a list as a comma-separated string, compatible with Postfix. """ - impl = db.Text + impl = db.String(255) cache_ok = True python_type = list @@ -96,7 +96,7 @@ class JSONEncoded(db.TypeDecorator): """ Represents an immutable structure as a json-encoded string. """ - impl = db.Text + impl = db.String(255) cache_ok = True python_type = str