diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-09 19:40:27 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-09 19:40:27 +0200 |
commit | 30d147bff5a2202f4d752c11596fd7f3f8939dd4 (patch) | |
tree | 40cf2bc353f56c6f8506d4fd2fcff719332e4c80 /ishtar_common/migrations | |
parent | 9cb9516c9deadd6d3de793de14e3f92afcf2a098 (diff) | |
download | Ishtar-30d147bff5a2202f4d752c11596fd7f3f8939dd4.tar.bz2 Ishtar-30d147bff5a2202f4d752c11596fd7f3f8939dd4.zip |
Regenerate views after python3 migration
Diffstat (limited to 'ishtar_common/migrations')
-rw-r--r-- | ishtar_common/migrations/0104_regenerate_views.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ishtar_common/migrations/0104_regenerate_views.py b/ishtar_common/migrations/0104_regenerate_views.py new file mode 100644 index 000000000..850748f20 --- /dev/null +++ b/ishtar_common/migrations/0104_regenerate_views.py @@ -0,0 +1,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) + ] |