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 | f981801be1241fb0d98234c3bab70e5318bb3882 (patch) | |
tree | 709a6d5d05ee7ae5b574b25315f456227e0f635e /ishtar_common | |
parent | fc1e43793cac4e77719cc80de7f828b5c839289e (diff) | |
download | Ishtar-f981801be1241fb0d98234c3bab70e5318bb3882.tar.bz2 Ishtar-f981801be1241fb0d98234c3bab70e5318bb3882.zip |
Add unique_together constraints
Diffstat (limited to 'ishtar_common')
-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')]), + ), + ] |