diff --git a/app/public/cantusdata/migrations/0003_chant_differentiae_database.py b/app/public/cantusdata/migrations/0003_chant_differentiae_database.py index 7514cd2f..1e42f488 100644 --- a/app/public/cantusdata/migrations/0003_chant_differentiae_database.py +++ b/app/public/cantusdata/migrations/0003_chant_differentiae_database.py @@ -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 @@ -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), ), ] diff --git a/app/public/cantusdata/models/chant.py b/app/public/cantusdata/models/chant.py index 67cb615c..3e3d650c 100644 --- a/app/public/cantusdata/models/chant.py +++ b/app/public/cantusdata/models/chant.py @@ -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)