-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
10190d1
commit 872a499
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
ephios/core/migrations/0033_eventtype_show_participant_data.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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", | ||
), | ||
), | ||
] |