diff --git a/paperwork/migrations/0008_remove_certificationdefinition_mailing_list.py b/paperwork/migrations/0008_remove_certificationdefinition_mailing_list.py new file mode 100644 index 0000000..3872258 --- /dev/null +++ b/paperwork/migrations/0008_remove_certificationdefinition_mailing_list.py @@ -0,0 +1,17 @@ +# Generated by Django 4.1.3 on 2023-01-19 21:15 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ("paperwork", "0007_department_has_mailing_list"), + ] + + operations = [ + migrations.RemoveField( + model_name="certificationdefinition", + name="mailing_list", + ), + ] diff --git a/paperwork/models.py b/paperwork/models.py index 2d1fc66..6e61157 100644 --- a/paperwork/models.py +++ b/paperwork/models.py @@ -85,7 +85,6 @@ class CertificationDefinition(models.Model): db_column="Certification Name", max_length=255, blank=True, null=True ) department = models.ForeignKey(Department, models.PROTECT) - mailing_list = models.CharField(max_length=128, blank=True) def __str__(self): return f"{self.certification_name} <{self.department}>"