Browse Source

HOT-FIX: mini-migração para commit 54c6b38

pull/2811/head
Edward Ribeiro 6 years ago
committed by Cesar Carvalho
parent
commit
00d6aa49ef
  1. 19
      sapl/parlamentares/migrations/0028_auto_20190515_1744.py

19
sapl/parlamentares/migrations/0028_auto_20190515_1744.py

@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.20 on 2019-05-15 20:44
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('parlamentares', '0027_auto_20190430_0839'),
]
operations = [
migrations.RunSQL("""
UPDATE base_autor SET content_type_id = (SELECT id FROM django_content_type WHERE app_label = 'parlamentares' AND model = 'bloco')
WHERE content_type_id = (SELECT id FROM django_content_type WHERE app_label = 'sessao' AND model = 'bloco');
""")
]
Loading…
Cancel
Save