Skip to content

Commit

Permalink
Add null=True and max_length=15 to differentiae_database field
Browse files Browse the repository at this point in the history
  • Loading branch information
dchiller committed Jan 29, 2024
1 parent d21f67a commit a1525af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 4.2.7 on 2024-01-22 17:18
# Generated by Django 4.2.7 on 2024-01-25 22:26

from django.db import migrations, models

Expand All @@ -12,6 +12,6 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name="chant",
name="differentiae_database",
field=models.CharField(blank=True, max_length=255),
field=models.CharField(blank=True, max_length=15, null=True),
),
]
2 changes: 1 addition & 1 deletion app/public/cantusdata/models/chant.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Meta:
lit_position = models.CharField(max_length=255, blank=True, null=True)
mode = models.CharField(max_length=255, blank=True, null=True)
differentia = models.CharField(max_length=255, blank=True, null=True)
differentiae_database = models.CharField(max_length=255, blank=True)
differentiae_database = models.CharField(max_length=15, blank=True, null=True)
finalis = models.CharField(max_length=255, blank=True, null=True)
incipit = models.TextField(blank=True, null=True)
full_text = models.TextField(blank=True, null=True)
Expand Down

0 comments on commit a1525af

Please sign in to comment.