change field type to db.text

This commit is contained in:
Johnson Thiang
2022-12-22 18:10:13 +08:00
parent 23b09518db
commit bd20ef04cc

View File

@@ -75,7 +75,7 @@ class CommaSeparatedList(db.TypeDecorator):
""" Stores a list as a comma-separated string, compatible with Postfix.
"""
impl = db.String
impl = db.Text
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.String
impl = db.Text
cache_ok = True
python_type = str