change field type to db.text

main
Johnson Thiang 2 years ago
parent 23b09518db
commit bd20ef04cc

@ -75,7 +75,7 @@ class CommaSeparatedList(db.TypeDecorator):
""" Stores a list as a comma-separated string, compatible with Postfix. """ Stores a list as a comma-separated string, compatible with Postfix.
""" """
impl = db.String impl = db.Text
cache_ok = True cache_ok = True
python_type = list python_type = list
@ -96,7 +96,7 @@ class JSONEncoded(db.TypeDecorator):
""" Represents an immutable structure as a json-encoded string. """ Represents an immutable structure as a json-encoded string.
""" """
impl = db.String impl = db.Text
cache_ok = True cache_ok = True
python_type = str python_type = str

Loading…
Cancel
Save