Use the size other implementations default to

main
Florent Daigniere 2 years ago committed by GitHub
parent bd20ef04cc
commit ca44ccbe1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save