1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-07-17 01:32:29 +02:00

Use the size other implementations default to

This commit is contained in:
Florent Daigniere
2022-12-29 17:02:05 +01:00
committed by GitHub
parent bd20ef04cc
commit ca44ccbe1c

View File

@ -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