From 72f58d8aab5338a6b822c8741bcfaec0a2c030f2 Mon Sep 17 00:00:00 2001
From: yourcoke <deinkoks@gmail.com>
Date: Tue, 29 Dec 2020 13:05:53 +0100
Subject: [PATCH] Added migration

---
 .../0057_UniqueTogether2EventParticipant.py     | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 src/core/migrations/0057_UniqueTogether2EventParticipant.py

diff --git a/src/core/migrations/0057_UniqueTogether2EventParticipant.py b/src/core/migrations/0057_UniqueTogether2EventParticipant.py
new file mode 100644
index 000000000..511826664
--- /dev/null
+++ b/src/core/migrations/0057_UniqueTogether2EventParticipant.py
@@ -0,0 +1,17 @@
+# Generated by Django 3.1.4 on 2020-12-29 12:05
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('core', '0056_backoffice_users_perms'),
+    ]
+
+    operations = [
+        migrations.AlterUniqueTogether(
+            name='eventparticipant',
+            unique_together={('participant', 'event', 'role')},
+        ),
+    ]
-- 
GitLab