From 320d6f1d0fec8fd9d2c0914186a4cdcb98a1bd15 Mon Sep 17 00:00:00 2001
From: Dominik George <dominik.george@teckids.org>
Date: Wed, 24 Jul 2019 23:29:29 +0200
Subject: [PATCH] Add migration.

---
 .../chronos/migrations/0002_make_unique.py    | 27 +++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 biscuit/apps/chronos/migrations/0002_make_unique.py

diff --git a/biscuit/apps/chronos/migrations/0002_make_unique.py b/biscuit/apps/chronos/migrations/0002_make_unique.py
new file mode 100644
index 00000000..cf0faa39
--- /dev/null
+++ b/biscuit/apps/chronos/migrations/0002_make_unique.py
@@ -0,0 +1,27 @@
+# Generated by Django 2.2.3 on 2019-07-24 21:26
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('chronos', '0001_initial'),
+    ]
+
+    operations = [
+        migrations.AlterField(
+            model_name='subject',
+            name='abbrev',
+            field=models.CharField(max_length=10, unique=True, verbose_name='Abbreviation of subject in timetable'),
+        ),
+        migrations.AlterField(
+            model_name='subject',
+            name='name',
+            field=models.CharField(max_length=30, unique=True, verbose_name='Long name of subject'),
+        ),
+        migrations.AlterUniqueTogether(
+            name='timeperiod',
+            unique_together={('weekday', 'period')},
+        ),
+    ]
-- 
GitLab