Skip to content

Commit

Permalink
Allow nulls too
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Jul 12, 2024
1 parent d39cccb commit 8de2240
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions calaccess_raw/migrations/0029_alter_cvrf470cd_date_1000.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Generated by Django 4.1.13 on 2024-07-12 14:35

import calaccess_raw.fields
from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
("calaccess_raw", "0028_remove_cvrf470cd_cand_adr1"),
]

operations = [
migrations.AlterField(
model_name="cvrf470cd",
name="date_1000",
field=calaccess_raw.fields.DateField(
blank=True,
db_column="DATE_1000",
help_text="Date contributions totaling $1,000 or more. (For the 470-S)",
null=True,
),
),
]
2 changes: 2 additions & 0 deletions calaccess_raw/models/inactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ class CvrF470Cd(CalAccessBaseModel):
)
date_1000 = fields.DateField(
db_column="DATE_1000",
blank=True,
null=True,
help_text="Date contributions totaling $1,000 or more. (For the 470-S)",
)
dist_no = fields.CharField(
Expand Down

0 comments on commit 8de2240

Please sign in to comment.