diff --git a/atlas/migrations/0003_rename_subpecialty_case_subspecialty.py b/atlas/migrations/0003_rename_subpecialty_case_subspecialty.py new file mode 100644 index 00000000..bf7a7a4f --- /dev/null +++ b/atlas/migrations/0003_rename_subpecialty_case_subspecialty.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.8 on 2021-11-24 18:47 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('atlas', '0002_auto_20211123_2240'), + ] + + operations = [ + migrations.RenameField( + model_name='case', + old_name='subpecialty', + new_name='subspecialty', + ), + ] diff --git a/atlas/models.py b/atlas/models.py index a478ea17..9e9f3b5e 100644 --- a/atlas/models.py +++ b/atlas/models.py @@ -93,7 +93,7 @@ class Case(models.Model): findings = models.TextField(null=True, blank=True) - subpecialty = models.CharField(max_length=2, choices=SubspecialtyChoices.choices) + subspecialty = models.CharField(max_length=2, choices=SubspecialtyChoices.choices) condition = tagulous.models.TagField( to=Condition,