Skip to content

Commit

Permalink
#14 Increase DB column size for "serializing" EDTF fields
Browse files Browse the repository at this point in the history
Bump the character field size up to 2000 to avoid hitting
character limits with this temporary fix, until we have
a better serialization mechanism.
  • Loading branch information
jmurty committed Jun 5, 2017
1 parent a293a7a commit 846de98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edtf/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __init__(
upper_fuzzy_field=None,
**kwargs
):
kwargs['max_length'] = 1000
kwargs['max_length'] = 2000
self.natural_text_field, self.lower_strict_field, \
self.upper_strict_field, self.lower_fuzzy_field, \
self.upper_fuzzy_field = natural_text_field, lower_strict_field, \
Expand Down

0 comments on commit 846de98

Please sign in to comment.