From be0d2d4e496eca21645a1c73d8c52f87d3c0976e Mon Sep 17 00:00:00 2001 From: Ross Date: Wed, 24 Nov 2021 18:47:31 +0000 Subject: [PATCH] . --- ...003_rename_subpecialty_case_subspecialty.py | 18 ++++++++++++++++++ atlas/models.py | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 atlas/migrations/0003_rename_subpecialty_case_subspecialty.py 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,