From 846de98e94e162ef9dc62536b725f0bd462bc815 Mon Sep 17 00:00:00 2001 From: James Murty Date: Mon, 5 Jun 2017 16:50:05 +1000 Subject: [PATCH] #14 Increase DB column size for "serializing" EDTF fields Bump the character field size up to 2000 to avoid hitting character limits with this temporary fix, until we have a better serialization mechanism. --- edtf/fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edtf/fields.py b/edtf/fields.py index 97c4bfd..da02f01 100644 --- a/edtf/fields.py +++ b/edtf/fields.py @@ -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, \