diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-03 14:28:51 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-03 14:28:51 +0200 |
commit | df95c89ba531bde7fe64464f07fbf9f0ad6cb570 (patch) | |
tree | 709a6d5d05ee7ae5b574b25315f456227e0f635e /ishtar_common/migrations | |
parent | d24b53842ae453650bf762e3f9a4886978dab83e (diff) | |
download | Ishtar-df95c89ba531bde7fe64464f07fbf9f0ad6cb570.tar.bz2 Ishtar-df95c89ba531bde7fe64464f07fbf9f0ad6cb570.zip |
Add unique_together constraints
Diffstat (limited to 'ishtar_common/migrations')
-rw-r--r-- | ishtar_common/migrations/0100_auto_20190903_1427.py | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/ishtar_common/migrations/0100_auto_20190903_1427.py b/ishtar_common/migrations/0100_auto_20190903_1427.py new file mode 100644 index 000000000..945294c59 --- /dev/null +++ b/ishtar_common/migrations/0100_auto_20190903_1427.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.18 on 2019-09-03 14:27 +from __future__ import unicode_literals + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('contenttypes', '0003_auto_20190903_1427'), + ('ishtar_common', '0099_ishtarsiteprofile_relation_graph'), + ] + + operations = [ + migrations.AlterUniqueTogether( + name='customform', + unique_together=set([('name', 'form')]), + ), + migrations.AlterUniqueTogether( + name='customformjsonfield', + unique_together=set([('custom_form', 'json_field')]), + ), + migrations.AlterUniqueTogether( + name='excludedfield', + unique_together=set([('custom_form', 'field')]), + ), + migrations.AlterUniqueTogether( + name='jsondatafield', + unique_together=set([('content_type', 'key')]), + ), + migrations.AlterUniqueTogether( + name='jsondatasection', + unique_together=set([('name', 'content_type')]), + ), + ] |