summaryrefslogtreecommitdiff
path: root/archaeological_finds/migrations/0076_treatmentfile_change_txt_idx.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-09-16 19:10:27 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-09-16 19:11:07 +0200
commit7af02b57ddbf9d972a216eb631ed891fbb8b817e (patch)
tree28182d81f4cf3b4efebf6c0cb5d241dd38b5ea5b /archaeological_finds/migrations/0076_treatmentfile_change_txt_idx.py
parent424984867fc08f6b65a2b9ab58d31562c6e9f75d (diff)
downloadIshtar-7af02b57ddbf9d972a216eb631ed891fbb8b817e.tar.bz2
Ishtar-7af02b57ddbf9d972a216eb631ed891fbb8b817e.zip
Treatment, treatment files: add scientific manager - exhibition fields
Diffstat (limited to 'archaeological_finds/migrations/0076_treatmentfile_change_txt_idx.py')
-rw-r--r--archaeological_finds/migrations/0076_treatmentfile_change_txt_idx.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/archaeological_finds/migrations/0076_treatmentfile_change_txt_idx.py b/archaeological_finds/migrations/0076_treatmentfile_change_txt_idx.py
new file mode 100644
index 000000000..0cc48d047
--- /dev/null
+++ b/archaeological_finds/migrations/0076_treatmentfile_change_txt_idx.py
@@ -0,0 +1,18 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.11.18 on 2019-09-16 18:47
+from __future__ import unicode_literals
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('archaeological_finds', '0075_auto_20190916_1822'),
+ ]
+
+ operations = [
+ migrations.RunSQL("""UPDATE archaeological_finds_treatmentfiletype
+ SET txt_idx='loan-for-exhibition' WHERE txt_idx='loan_demand_exposure'
+ """)
+ ]