summaryrefslogtreecommitdiff
path: root/ishtar_common/migrations/0104_regenerate_views.py
blob: 850748f20455bfb74ad8ec5418f1571e74ffb222 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# -*- coding: utf-8 -*-
# Generated by Django 1.11.18 on 2019-09-09 19:35
from __future__ import unicode_literals

from django.db import migrations

from archaeological_finds.models import FindNonModifTreatments, FindTreatments,\
    FindDownstreamTreatments, FindUpstreamTreatments


FULL_SQL = FindNonModifTreatments.DELETE_SQL + \
           FindNonModifTreatments.CREATE_SQL + \
           FindTreatments.DELETE_SQL + \
           FindUpstreamTreatments.DELETE_SQL + \
           FindDownstreamTreatments.DELETE_SQL + \
           FindUpstreamTreatments.CREATE_SQL + \
           FindDownstreamTreatments.CREATE_SQL + \
           FindTreatments.CREATE_SQL


class Migration(migrations.Migration):
    dependencies = [
        ('ishtar_common', '0103_auto_20190909_1342'),
    ]

    operations = [
        migrations.RunSQL(FULL_SQL, reverse_sql=FULL_SQL)
    ]