summaryrefslogtreecommitdiff
path: root/ishtar_common/migrations
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-11-17 15:37:22 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-02-28 12:15:21 +0100
commit53f899c9ded29921c982e67f220716b2f86823f3 (patch)
treee983fd246f6fd2ce0e9521ea23c1f93c73cc8bc9 /ishtar_common/migrations
parent9667957457eaf024e1b4a40f5d04ae001c4eeaca (diff)
downloadIshtar-53f899c9ded29921c982e67f220716b2f86823f3.tar.bz2
Ishtar-53f899c9ded29921c982e67f220716b2f86823f3.zip
Manage a "custom_index" for base types
Diffstat (limited to 'ishtar_common/migrations')
-rw-r--r--ishtar_common/migrations/0207_auto_20201117_1021.py70
1 files changed, 70 insertions, 0 deletions
diff --git a/ishtar_common/migrations/0207_auto_20201117_1021.py b/ishtar_common/migrations/0207_auto_20201117_1021.py
new file mode 100644
index 000000000..bd6d970fe
--- /dev/null
+++ b/ishtar_common/migrations/0207_auto_20201117_1021.py
@@ -0,0 +1,70 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.11.27 on 2020-11-17 10:21
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('ishtar_common', '0206_auto_20201110_1030'),
+ ]
+
+ operations = [
+ migrations.RenameField(
+ model_name='ishtarsiteprofile',
+ old_name='context_record_complete_identifier',
+ new_name='contextrecord_complete_identifier',
+ ),
+ migrations.AddField(
+ model_name='document',
+ name='custom_index',
+ field=models.IntegerField(blank=True, null=True, verbose_name='Custom index'),
+ ),
+ migrations.AddField(
+ model_name='ishtarsiteprofile',
+ name='basefind_custom_index',
+ field=models.TextField(default='', help_text='Key to be used to manage base find custom index.', verbose_name='Base find custom index key'),
+ ),
+ migrations.AddField(
+ model_name='ishtarsiteprofile',
+ name='container_custom_index',
+ field=models.TextField(default='', help_text='Key to be used to manage container custom index.', verbose_name='Container custom index key'),
+ ),
+ migrations.AddField(
+ model_name='ishtarsiteprofile',
+ name='contextrecord_custom_index',
+ field=models.TextField(default='', help_text='Key to be used to manage context record custom index.', verbose_name='Context record custom index key'),
+ ),
+ migrations.AddField(
+ model_name='ishtarsiteprofile',
+ name='document_custom_index',
+ field=models.TextField(default='', help_text='Key to be used to manage document custom index.', verbose_name='Document custom index key'),
+ ),
+ migrations.AddField(
+ model_name='ishtarsiteprofile',
+ name='file_custom_index',
+ field=models.TextField(default='', help_text='Key to be used to manage archaeological file custom index.', verbose_name='Archaeological file custom index key'),
+ ),
+ migrations.AddField(
+ model_name='ishtarsiteprofile',
+ name='find_custom_index',
+ field=models.TextField(default='', help_text='Key to be used to manage find custom index.', verbose_name='Find custom index key'),
+ ),
+ migrations.AddField(
+ model_name='ishtarsiteprofile',
+ name='operation_custom_index',
+ field=models.TextField(default='', help_text='Key to be used to manage operation custom index.', verbose_name='Operation custom index key'),
+ ),
+ migrations.AddField(
+ model_name='ishtarsiteprofile',
+ name='site_custom_index',
+ field=models.TextField(default='', help_text='Key to be used to manage archaeological site custom index.', verbose_name='Archaeological site custom index key'),
+ ),
+ migrations.AddField(
+ model_name='ishtarsiteprofile',
+ name='warehouse_custom_index',
+ field=models.TextField(default='', help_text='Key to be used to manage warehouse custom index.', verbose_name='Warehouse custom index key'),
+ ),
+ ]