From c32f631ea3274d349cb056b1bca8b34fb9060fbb Mon Sep 17 00:00:00 2001
From: Dominik George <dominik.george@teckids.org>
Date: Sat, 14 Sep 2019 18:11:05 +0200
Subject: [PATCH] Remove unique constraint on room names.

---
 biscuit/apps/chronos/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/biscuit/apps/chronos/models.py b/biscuit/apps/chronos/models.py
index 0556b89a..b8498ae4 100644
--- a/biscuit/apps/chronos/models.py
+++ b/biscuit/apps/chronos/models.py
@@ -78,7 +78,7 @@ class Room(SchoolRelated):
 
     class Meta:
         ordering = ['name', 'short_name']
-        unique_together = [['school', 'short_name'], ['school', 'name']]
+        unique_together = [['school', 'short_name']]
 
 
 class Lesson(SchoolRelated):
-- 
GitLab