diff --git a/scipost_django/organizations/migrations/0023_alter_contactperson_role.py b/scipost_django/organizations/migrations/0023_alter_contactperson_role.py new file mode 100644 index 0000000000000000000000000000000000000000..7deaec9bfe53c7cebe9eeb65e313c1e2596bc87c --- /dev/null +++ b/scipost_django/organizations/migrations/0023_alter_contactperson_role.py @@ -0,0 +1,17 @@ +# Generated by Django 4.2.15 on 2024-10-08 15:25 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("organizations", "0022_contactperson_date_deprecated_contactperson_status"), + ] + + operations = [ + migrations.AlterField( + model_name="contactperson", + name="role", + field=models.CharField(blank=True, max_length=128, null=True), + ), + ] diff --git a/scipost_django/organizations/models.py b/scipost_django/organizations/models.py index 78d7971b6eff30a76a56c55c1874b7d114a2a65a..f2b9295cd330cdedb538b6bf01a8c3e45531347c 100644 --- a/scipost_django/organizations/models.py +++ b/scipost_django/organizations/models.py @@ -709,7 +709,7 @@ class ContactPerson(models.Model): first_name = models.CharField(max_length=64) last_name = models.CharField(max_length=64) email = models.EmailField() - role = models.CharField(max_length=128) + role = models.CharField(max_length=128, blank=True, null=True) status = models.CharField( max_length=16, choices=STATUS_CHOICES, default=STATUS_UNKNOWN )