diff --git a/ephios/core/migrations/0033_eventtype_show_participant_data.py b/ephios/core/migrations/0033_eventtype_show_participant_data.py new file mode 100644 index 000000000..cfad5e869 --- /dev/null +++ b/ephios/core/migrations/0033_eventtype_show_participant_data.py @@ -0,0 +1,27 @@ +# Generated by Django 5.0.9 on 2025-01-03 19:18 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("core", "0032_shift_label"), + ] + + operations = [ + migrations.AddField( + model_name="eventtype", + name="show_participant_data", + field=models.SmallIntegerField( + choices=[ + (0, "to everyone"), + (1, "to confirmed participants"), + (2, "only to responsible users"), + ], + default=0, + help_text="If you restrict who can see participant data, others will only be able to see that there is a participation, but not from whom.", + verbose_name="show participant data", + ), + ), + ]