Skip to content

Commit

Permalink
Make field nullable to match live stova data
Browse files Browse the repository at this point in the history
  • Loading branch information
DeanElliott96 committed Feb 19, 2025
1 parent d32f257 commit ae6b97a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.2.17 on 2025-02-19 15:27

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('company_activity', '0029_stova_model_match_real_data'),
]

operations = [
migrations.AlterField(
model_name='stovaevent',
name='state',
field=models.CharField(blank=True, max_length=255, null=True),
),
]
2 changes: 1 addition & 1 deletion datahub/company_activity/models/stova_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class StovaEvent(models.Model):

country = models.CharField(max_length=MAX_LENGTH, blank=True, null=True)
city = models.CharField(max_length=MAX_LENGTH, blank=True, null=True)
state = models.CharField(max_length=MAX_LENGTH)
state = models.CharField(max_length=MAX_LENGTH, blank=True, null=True)
timezone = models.CharField(max_length=MAX_LENGTH, blank=True, null=True, default='')
url = models.TextField(blank=True, null=True)
max_reg = models.IntegerField(null=True, blank=True)
Expand Down

0 comments on commit ae6b97a

Please sign in to comment.