diff --git a/src/fellchensammlung/migrations/0016_rescueorganization_phone_number.py b/src/fellchensammlung/migrations/0016_rescueorganization_phone_number.py new file mode 100644 index 0000000..7b26060 --- /dev/null +++ b/src/fellchensammlung/migrations/0016_rescueorganization_phone_number.py @@ -0,0 +1,18 @@ +# Generated by Django 5.1.1 on 2024-11-13 15:33 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('fellchensammlung', '0015_rescueorganization_comment'), + ] + + operations = [ + migrations.AddField( + model_name='rescueorganization', + name='phone_number', + field=models.CharField(blank=True, max_length=15, null=True, verbose_name='Telefonnummer'), + ), + ] diff --git a/src/fellchensammlung/models.py b/src/fellchensammlung/models.py index fce205f..36428c4 100644 --- a/src/fellchensammlung/models.py +++ b/src/fellchensammlung/models.py @@ -186,6 +186,7 @@ class RescueOrganization(models.Model): facebook = models.URLField(null=True, blank=True, verbose_name=_('Facebook Profil')) fediverse_profile = models.URLField(null=True, blank=True, verbose_name=_('Fediverse Profil')) email = models.EmailField(null=True, blank=True, verbose_name=_('E-Mail')) + phone_number = models.CharField(max_length=15, null=True, blank=True, verbose_name=_('Telefonnummer')) website = models.URLField(null=True, blank=True, verbose_name=_('Website')) updated_at = models.DateTimeField(auto_now=True) created_at = models.DateTimeField(auto_now_add=True)