summaryrefslogtreecommitdiff
path: root/archaeological_context_records/migrations
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-06-04 16:07:33 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-06-12 08:52:35 +0200
commit6d011e9fe04da5969404f6cdd3c082773f0ab936 (patch)
tree52ef9eebdda38ee7575204ad2b54dec0c1966776 /archaeological_context_records/migrations
parent3bcfbc77e8fe7ba5cffb345514b20bf9c4c20994 (diff)
downloadIshtar-6d011e9fe04da5969404f6cdd3c082773f0ab936.tar.bz2
Ishtar-6d011e9fe04da5969404f6cdd3c082773f0ab936.zip
Context record: add town field for context records (when parcel is not mandatory)
Diffstat (limited to 'archaeological_context_records/migrations')
-rw-r--r--archaeological_context_records/migrations/0024_auto_20180604_1532.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/archaeological_context_records/migrations/0024_auto_20180604_1532.py b/archaeological_context_records/migrations/0024_auto_20180604_1532.py
new file mode 100644
index 000000000..8290c21b0
--- /dev/null
+++ b/archaeological_context_records/migrations/0024_auto_20180604_1532.py
@@ -0,0 +1,27 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.11.10 on 2018-06-04 15:32
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('ishtar_common', '0054_auto_20180525_1249'),
+ ('archaeological_context_records', '0023_auto_20180511_1232'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='contextrecord',
+ name='town',
+ field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='context_record', to='ishtar_common.Town', verbose_name='Town'),
+ ),
+ migrations.AddField(
+ model_name='historicalcontextrecord',
+ name='town',
+ field=models.ForeignKey(blank=True, db_constraint=False, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='+', to='ishtar_common.Town'),
+ ),
+ ]