From 49e87a9cb4e32c30e004dbf87f1b8f4d8326282f Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 29 Jan 2020 17:41:48 +0100 Subject: Finish migration refactoring --- archaeological_context_records/migrations/0101_squashed.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'archaeological_context_records/migrations/0101_squashed.py') diff --git a/archaeological_context_records/migrations/0101_squashed.py b/archaeological_context_records/migrations/0101_squashed.py index 911e4d47a..ee6bc9866 100644 --- a/archaeological_context_records/migrations/0101_squashed.py +++ b/archaeological_context_records/migrations/0101_squashed.py @@ -2,6 +2,7 @@ # Generated by Django 1.11.27 on 2020-01-23 18:21 from __future__ import unicode_literals +import archaeological_context_records.models import django.contrib.gis.db.models.fields import django.contrib.postgres.fields.jsonb import django.contrib.postgres.search @@ -15,7 +16,6 @@ import uuid class Migration(migrations.Migration): dependencies = [ - ('archaeological_context_records', '0056_auto_20191216_1031'), ] operations = [ @@ -340,4 +340,8 @@ class Migration(migrations.Migration): name='right_record', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='left_relations', to='archaeological_context_records.ContextRecord'), ), + migrations.RunSQL( + archaeological_context_records.models.RecordRelationView.DELETE_SQL), + migrations.RunSQL( + archaeological_context_records.models.RecordRelationView.CREATE_SQL), ] -- cgit v1.2.3