From 265feca5a5ea3ae410f3d53b755e8a87a1fbf949 Mon Sep 17 00:00:00 2001 From: Ben Welsh Date: Mon, 31 Oct 2022 07:15:32 -0700 Subject: [PATCH 1/2] Extend char field --- calaccess_raw/models/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calaccess_raw/models/common.py b/calaccess_raw/models/common.py index 04cb5430..d9fa1116 100644 --- a/calaccess_raw/models/common.py +++ b/calaccess_raw/models/common.py @@ -1165,7 +1165,7 @@ class CvrE530Cd(CalAccessBaseModel): db_column="TYPE_OTHER", help_text="This field is undocumented" ) other_desc = fields.CharField( - db_column="OTHER_DESC", max_length=49, help_text="This field is undocumented" + db_column="OTHER_DESC", max_length=500, help_text="This field is undocumented" ) class Meta(CalAccessBaseModel.Meta): From be2a9649b3ff986dc537fc127036507a2d442d6d Mon Sep 17 00:00:00 2001 From: palewire Date: Mon, 31 Oct 2022 07:44:44 -0700 Subject: [PATCH 2/2] Migration --- .../0027_alter_cvre530cd_other_desc.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 calaccess_raw/migrations/0027_alter_cvre530cd_other_desc.py diff --git a/calaccess_raw/migrations/0027_alter_cvre530cd_other_desc.py b/calaccess_raw/migrations/0027_alter_cvre530cd_other_desc.py new file mode 100644 index 00000000..d4919b53 --- /dev/null +++ b/calaccess_raw/migrations/0027_alter_cvre530cd_other_desc.py @@ -0,0 +1,19 @@ +# Generated by Django 4.0.8 on 2022-10-31 14:44 + +import calaccess_raw.fields +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('calaccess_raw', '0026_auto_20220909_2321'), + ] + + operations = [ + migrations.AlterField( + model_name='cvre530cd', + name='other_desc', + field=calaccess_raw.fields.CharField(db_column='OTHER_DESC', help_text='This field is undocumented', max_length=500), + ), + ]