Skip to content

Commit

Permalink
fix: alter status field to allow blanks
Browse files Browse the repository at this point in the history
  • Loading branch information
b1rger committed Sep 25, 2023
1 parent 4afa77f commit 632678d
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Generated by Django 4.1.11 on 2023-09-25 04:57

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('apis_ontology', '0001_initial'),
]

operations = [
migrations.AlterField(
model_name='event',
name='status',
field=models.CharField(blank=True, max_length=100),
),
migrations.AlterField(
model_name='institution',
name='status',
field=models.CharField(blank=True, max_length=100),
),
migrations.AlterField(
model_name='person',
name='status',
field=models.CharField(blank=True, max_length=100),
),
migrations.AlterField(
model_name='place',
name='status',
field=models.CharField(blank=True, max_length=100),
),
migrations.AlterField(
model_name='work',
name='status',
field=models.CharField(blank=True, max_length=100),
),
]
2 changes: 1 addition & 1 deletion apis_ontology/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class LegacyStuffMixin(models.Model):
review = review = models.BooleanField(default=False, help_text="Should be set to True, if the data record holds up quality standards.")
status = models.CharField(max_length=100)
status = models.CharField(max_length=100, blank=True)
references = models.TextField(blank=True, null=True)
notes = models.TextField(blank=True, null=True)
published = models.BooleanField(default=False)
Expand Down

0 comments on commit 632678d

Please sign in to comment.