add unique_together on EventMetaProperty (organizer, name)

This commit is contained in:
Mira Weller
2026-04-28 14:03:50 +02:00
parent c9d29bbca5
commit f1a4b51604

View File

@@ -1841,6 +1841,7 @@ class EventMetaProperty(LoggedModel):
class Meta: class Meta:
ordering = ("position", "name",) ordering = ("position", "name",)
unique_together = ('organizer', 'name')
@property @property
def choice_keys(self): def choice_keys(self):