diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-05-15 13:35:38 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-05-15 13:35:38 +0200 |
commit | a0d7d147f3b0aab083b59b313c1bc5b8e2240528 (patch) | |
tree | 5850f1f8f6293fb43058768211409600924bbb99 /ishtar_common | |
parent | ca5f4c71fc93662fe56aa7588bf5a21fa4033571 (diff) | |
download | Ishtar-a0d7d147f3b0aab083b59b313c1bc5b8e2240528.tar.bz2 Ishtar-a0d7d147f3b0aab083b59b313c1bc5b8e2240528.zip |
Manage migrations from v1
Diffstat (limited to 'ishtar_common')
-rw-r--r-- | ishtar_common/migrations/0004_ishtarsiteprofile_find_index.py | 19 | ||||
-rw-r--r-- | ishtar_common/old_migrations/0076_auto__add_field_ishtarsiteprofile_find_index.py (renamed from ishtar_common/migrations/0076_auto__add_field_ishtarsiteprofile_find_index.py) | 0 |
2 files changed, 19 insertions, 0 deletions
diff --git a/ishtar_common/migrations/0004_ishtarsiteprofile_find_index.py b/ishtar_common/migrations/0004_ishtarsiteprofile_find_index.py new file mode 100644 index 000000000..bea213eae --- /dev/null +++ b/ishtar_common/migrations/0004_ishtarsiteprofile_find_index.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('ishtar_common', '0003_auto_20170421_1613'), + ] + + operations = [ + migrations.AddField( + model_name='ishtarsiteprofile', + name='find_index', + field=models.CharField(default=b'O', help_text='To prevent irrlevant indexes, change this parameter only if there is no find in the database', max_length=2, verbose_name='Find index is based on', choices=[('O', 'Operations'), ('CR', 'Context records')]), + ), + ] diff --git a/ishtar_common/migrations/0076_auto__add_field_ishtarsiteprofile_find_index.py b/ishtar_common/old_migrations/0076_auto__add_field_ishtarsiteprofile_find_index.py index 84bf5f971..84bf5f971 100644 --- a/ishtar_common/migrations/0076_auto__add_field_ishtarsiteprofile_find_index.py +++ b/ishtar_common/old_migrations/0076_auto__add_field_ishtarsiteprofile_find_index.py |