From 5015e03c0ceabe8ca8a7884e7178bfd246d77788 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 1 Dec 2020 13:33:21 +0100 Subject: Context records: show find inside related context records --- .../migrations/0106_views_related_cr.py | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 archaeological_context_records/migrations/0106_views_related_cr.py (limited to 'archaeological_context_records/migrations') diff --git a/archaeological_context_records/migrations/0106_views_related_cr.py b/archaeological_context_records/migrations/0106_views_related_cr.py new file mode 100644 index 000000000..189bc3013 --- /dev/null +++ b/archaeological_context_records/migrations/0106_views_related_cr.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.27 on 2020-12-01 13:29 +from __future__ import unicode_literals + +from django.db import migrations, models + +import archaeological_context_records.models + + +class Migration(migrations.Migration): + + dependencies = [ + ('archaeological_context_records', '0105_auto_20201117_0759'), + ] + + operations = [ + migrations.RunSQL( + archaeological_context_records.models.ContextRecordTree.DELETE_SQL + ), + migrations.RunSQL( + archaeological_context_records.models.ContextRecordTree.CREATE_SQL + ), + migrations.CreateModel( + name='ContextRecordTree', + fields=[ + ('key', models.TextField(primary_key=True, serialize=False)), + ], + options={ + 'db_table': 'context_records_tree', + 'managed': False, + }, + ), + migrations.AlterField( + model_name='relationtype', + name='logical_relation', + field=models.CharField(blank=True, choices=[('above', 'Above'), ('below', 'Below'), ('equal', 'Equal'), ('include', 'Include'), ('included', 'Is included')], max_length=10, null=True, verbose_name='Logical relation'), + ), + ] -- cgit v1.2.3