summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
commit2a0344edfa2a4dc12f0be84a8eb16725e05cfe0b (patch)
tree5850f1f8f6293fb43058768211409600924bbb99
parentca8d03a722161446d2a40da9dbc5ce871c6ab8cf (diff)
downloadIshtar-2a0344edfa2a4dc12f0be84a8eb16725e05cfe0b.tar.bz2
Ishtar-2a0344edfa2a4dc12f0be84a8eb16725e05cfe0b.zip
Manage migrations from v1
-rw-r--r--ishtar_common/migrations/0004_ishtarsiteprofile_find_index.py19
-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