mirror of https://github.com/interlegis/sapl.git
Marcio Mazza
8 years ago
6 changed files with 648 additions and 0 deletions
@ -0,0 +1,46 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
# Generated by Django 1.9.12 on 2017-03-25 10:52 |
||||
|
from __future__ import unicode_literals |
||||
|
|
||||
|
from django.db import migrations, models |
||||
|
import django.db.models.deletion |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('comissoes', '0009_auto_20161011_0843'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.AlterField( |
||||
|
model_name='comissao', |
||||
|
name='tipo', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='comissoes.TipoComissao', verbose_name='Tipo'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='composicao', |
||||
|
name='comissao', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='comissoes.Comissao', verbose_name='Comissão'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='composicao', |
||||
|
name='periodo', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='comissoes.Periodo', verbose_name='Período'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='participacao', |
||||
|
name='cargo', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='comissoes.CargoComissao'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='participacao', |
||||
|
name='composicao', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='participacao_set', to='comissoes.Composicao'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='participacao', |
||||
|
name='parlamentar', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Parlamentar'), |
||||
|
), |
||||
|
] |
@ -0,0 +1,181 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
# Generated by Django 1.9.12 on 2017-03-25 10:52 |
||||
|
from __future__ import unicode_literals |
||||
|
|
||||
|
from django.db import migrations, models |
||||
|
import django.db.models.deletion |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('materia', '0077_auto_20170321_1130'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.AlterField( |
||||
|
model_name='acompanhamentomateria', |
||||
|
name='materia', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='materia.MateriaLegislativa'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='anexada', |
||||
|
name='materia_anexada', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='materia_anexada_set', to='materia.MateriaLegislativa'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='anexada', |
||||
|
name='materia_principal', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='materia_principal_set', to='materia.MateriaLegislativa'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='autoria', |
||||
|
name='autor', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='base.Autor', verbose_name='Autor'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='autoria', |
||||
|
name='materia', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='materia.MateriaLegislativa', verbose_name='Matéria Legislativa'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='despachoinicial', |
||||
|
name='comissao', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='comissoes.Comissao'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='despachoinicial', |
||||
|
name='materia', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='materia.MateriaLegislativa'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='documentoacessorio', |
||||
|
name='materia', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='materia.MateriaLegislativa'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='documentoacessorio', |
||||
|
name='tipo', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='materia.TipoDocumento', verbose_name='Tipo'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='materiaassunto', |
||||
|
name='assunto', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='materia.AssuntoMateria'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='materiaassunto', |
||||
|
name='materia', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='materia.MateriaLegislativa'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='materialegislativa', |
||||
|
name='local_origem_externa', |
||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='materia.Origem', verbose_name='Local Origem'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='materialegislativa', |
||||
|
name='regime_tramitacao', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='materia.RegimeTramitacao', verbose_name='Regime Tramitação'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='materialegislativa', |
||||
|
name='tipo', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='materia.TipoMateriaLegislativa', verbose_name='Tipo'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='materialegislativa', |
||||
|
name='tipo_origem_externa', |
||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='tipo_origem_externa_set', to='materia.TipoMateriaLegislativa', verbose_name='Tipo'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='numeracao', |
||||
|
name='materia', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='materia.MateriaLegislativa'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='numeracao', |
||||
|
name='tipo_materia', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='materia.TipoMateriaLegislativa', verbose_name='Tipo de Matéria'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='parecer', |
||||
|
name='materia', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='materia.MateriaLegislativa'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='parecer', |
||||
|
name='relatoria', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='materia.Relatoria'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='proposicao', |
||||
|
name='materia_de_vinculo', |
||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='proposicao_set', to='materia.MateriaLegislativa', verbose_name='Matéria anexadora'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='proposicao', |
||||
|
name='tipo', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='materia.TipoProposicao', verbose_name='Tipo'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='relatoria', |
||||
|
name='comissao', |
||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='comissoes.Comissao', verbose_name='Comissão'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='relatoria', |
||||
|
name='materia', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='materia.MateriaLegislativa'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='relatoria', |
||||
|
name='parlamentar', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Parlamentar', verbose_name='Parlamentar'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='relatoria', |
||||
|
name='tipo_fim_relatoria', |
||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='materia.TipoFimRelatoria', verbose_name='Motivo Fim Relatoria'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='tipoproposicao', |
||||
|
name='content_type', |
||||
|
field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.PROTECT, to='contenttypes.ContentType', verbose_name='Definição de Tipo'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='tramitacao', |
||||
|
name='materia', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='materia.MateriaLegislativa'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='tramitacao', |
||||
|
name='status', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='materia.StatusTramitacao', verbose_name='Status'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='tramitacao', |
||||
|
name='unidade_tramitacao_destino', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='tramitacoes_destino', to='materia.UnidadeTramitacao', verbose_name='Unidade Destino'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='tramitacao', |
||||
|
name='unidade_tramitacao_local', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='tramitacoes_origem', to='materia.UnidadeTramitacao', verbose_name='Unidade Local'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='unidadetramitacao', |
||||
|
name='comissao', |
||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='comissoes.Comissao', verbose_name='Comissão'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='unidadetramitacao', |
||||
|
name='orgao', |
||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='materia.Orgao', verbose_name='Órgão'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='unidadetramitacao', |
||||
|
name='parlamentar', |
||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Parlamentar', verbose_name='Parlamentar'), |
||||
|
), |
||||
|
] |
@ -0,0 +1,51 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
# Generated by Django 1.9.12 on 2017-03-25 10:52 |
||||
|
from __future__ import unicode_literals |
||||
|
|
||||
|
from django.db import migrations, models |
||||
|
import django.db.models.deletion |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('norma', '0036_merge'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.AlterField( |
||||
|
model_name='legislacaocitada', |
||||
|
name='materia', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='materia.MateriaLegislativa'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='legislacaocitada', |
||||
|
name='norma', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='norma.NormaJuridica'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='normajuridica', |
||||
|
name='materia', |
||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='materia.MateriaLegislativa', verbose_name='Matéria'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='normajuridica', |
||||
|
name='tipo', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='norma.TipoNormaJuridica', verbose_name='Tipo da Norma Juridica'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='normarelacionada', |
||||
|
name='norma_principal', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='norma_principal', to='norma.NormaJuridica', verbose_name='Norma Principal'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='normarelacionada', |
||||
|
name='norma_relacionada', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='norma_relacionada', to='norma.NormaJuridica', verbose_name='Norma Relacionada'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='normarelacionada', |
||||
|
name='tipo_vinculo', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='norma.TipoVinculoNormaJuridica', verbose_name='Tipo de Vínculo'), |
||||
|
), |
||||
|
] |
@ -0,0 +1,117 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
# Generated by Django 1.9.12 on 2017-03-25 10:52 |
||||
|
from __future__ import unicode_literals |
||||
|
|
||||
|
from django.conf import settings |
||||
|
from django.db import migrations, models |
||||
|
import django.db.models.deletion |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('parlamentares', '0041_mandato_titular'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.AlterField( |
||||
|
model_name='coligacao', |
||||
|
name='legislatura', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Legislatura', verbose_name='Legislatura'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='composicaocoligacao', |
||||
|
name='coligacao', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Coligacao'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='composicaocoligacao', |
||||
|
name='partido', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Partido', verbose_name='Partidos da Coligação'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='composicaomesa', |
||||
|
name='cargo', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.CargoMesa'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='composicaomesa', |
||||
|
name='parlamentar', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Parlamentar'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='composicaomesa', |
||||
|
name='sessao_legislativa', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.SessaoLegislativa'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='dependente', |
||||
|
name='parlamentar', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Parlamentar'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='dependente', |
||||
|
name='tipo', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.TipoDependente', verbose_name='Tipo'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='filiacao', |
||||
|
name='parlamentar', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Parlamentar'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='filiacao', |
||||
|
name='partido', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Partido', verbose_name='Partido'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='mandato', |
||||
|
name='coligacao', |
||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Coligacao', verbose_name='Coligação'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='mandato', |
||||
|
name='legislatura', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Legislatura', verbose_name='Legislatura'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='mandato', |
||||
|
name='parlamentar', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Parlamentar'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='mandato', |
||||
|
name='tipo_afastamento', |
||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='parlamentares.TipoAfastamento'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='parlamentar', |
||||
|
name='municipio_residencia', |
||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Municipio', verbose_name='Município'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='parlamentar', |
||||
|
name='nivel_instrucao', |
||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='parlamentares.NivelInstrucao', verbose_name='Nível Instrução'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='parlamentar', |
||||
|
name='situacao_militar', |
||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='parlamentares.SituacaoMilitar', verbose_name='Situação Militar'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='sessaolegislativa', |
||||
|
name='legislatura', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Legislatura', verbose_name='Legislatura'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='votante', |
||||
|
name='parlamentar', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='parlamentar', to='parlamentares.Parlamentar', verbose_name='Parlamentar'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='votante', |
||||
|
name='user', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='user', to=settings.AUTH_USER_MODEL, verbose_name='User'), |
||||
|
), |
||||
|
] |
@ -0,0 +1,76 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
# Generated by Django 1.9.12 on 2017-03-25 10:52 |
||||
|
from __future__ import unicode_literals |
||||
|
|
||||
|
from django.db import migrations, models |
||||
|
import django.db.models.deletion |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('protocoloadm', '0014_auto_20170321_1130'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.AlterField( |
||||
|
model_name='documentoacessorioadministrativo', |
||||
|
name='documento', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='protocoloadm.DocumentoAdministrativo'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='documentoacessorioadministrativo', |
||||
|
name='tipo', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='protocoloadm.TipoDocumentoAdministrativo', verbose_name='Tipo'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='documentoadministrativo', |
||||
|
name='autor', |
||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='base.Autor'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='documentoadministrativo', |
||||
|
name='protocolo', |
||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='protocoloadm.Protocolo', verbose_name='Protocolo'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='documentoadministrativo', |
||||
|
name='tipo', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='protocoloadm.TipoDocumentoAdministrativo', verbose_name='Tipo Documento'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='protocolo', |
||||
|
name='autor', |
||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='base.Autor'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='protocolo', |
||||
|
name='tipo_documento', |
||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='protocoloadm.TipoDocumentoAdministrativo', verbose_name='Tipo de documento'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='protocolo', |
||||
|
name='tipo_materia', |
||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='materia.TipoMateriaLegislativa', verbose_name='Tipo Matéria'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='tramitacaoadministrativo', |
||||
|
name='documento', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='protocoloadm.DocumentoAdministrativo'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='tramitacaoadministrativo', |
||||
|
name='status', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='protocoloadm.StatusTramitacaoAdministrativo', verbose_name='Status'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='tramitacaoadministrativo', |
||||
|
name='unidade_tramitacao_destino', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='adm_tramitacoes_destino', to='materia.UnidadeTramitacao', verbose_name='Unidade Destino'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='tramitacaoadministrativo', |
||||
|
name='unidade_tramitacao_local', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='adm_tramitacoes_origem', to='materia.UnidadeTramitacao', verbose_name='Unidade Local'), |
||||
|
), |
||||
|
] |
@ -0,0 +1,177 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
# Generated by Django 1.9.12 on 2017-03-25 10:52 |
||||
|
from __future__ import unicode_literals |
||||
|
|
||||
|
from django.conf import settings |
||||
|
from django.db import migrations, models |
||||
|
import django.db.models.deletion |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('sessao', '0035_auto_20170213_1455'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.AlterField( |
||||
|
model_name='bancada', |
||||
|
name='legislatura', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Legislatura', verbose_name='Legislatura'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='bancada', |
||||
|
name='partido', |
||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Partido', verbose_name='Partido'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='expedientemateria', |
||||
|
name='materia', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='materia.MateriaLegislativa', verbose_name='Matéria'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='expedientemateria', |
||||
|
name='sessao_plenaria', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='sessao.SessaoPlenaria'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='expedientesessao', |
||||
|
name='sessao_plenaria', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='sessao.SessaoPlenaria'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='expedientesessao', |
||||
|
name='tipo', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='sessao.TipoExpediente'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='integrantemesa', |
||||
|
name='cargo', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.CargoMesa'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='integrantemesa', |
||||
|
name='parlamentar', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Parlamentar'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='integrantemesa', |
||||
|
name='sessao_plenaria', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='sessao.SessaoPlenaria'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='orador', |
||||
|
name='parlamentar', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Parlamentar', verbose_name='Parlamentar'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='orador', |
||||
|
name='sessao_plenaria', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='sessao.SessaoPlenaria'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='oradorexpediente', |
||||
|
name='parlamentar', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Parlamentar', verbose_name='Parlamentar'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='oradorexpediente', |
||||
|
name='sessao_plenaria', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='sessao.SessaoPlenaria'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='ordemdia', |
||||
|
name='materia', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='materia.MateriaLegislativa', verbose_name='Matéria'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='ordemdia', |
||||
|
name='sessao_plenaria', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='sessao.SessaoPlenaria'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='presencaordemdia', |
||||
|
name='parlamentar', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Parlamentar'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='presencaordemdia', |
||||
|
name='sessao_plenaria', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='sessao.SessaoPlenaria'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='registrovotacao', |
||||
|
name='expediente', |
||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='sessao.ExpedienteMateria'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='registrovotacao', |
||||
|
name='materia', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='materia.MateriaLegislativa'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='registrovotacao', |
||||
|
name='ordem', |
||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='sessao.OrdemDia'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='registrovotacao', |
||||
|
name='tipo_resultado_votacao', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='sessao.TipoResultadoVotacao', verbose_name='Resultado da Votação'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='sessaoplenaria', |
||||
|
name='legislatura', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Legislatura', verbose_name='Legislatura'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='sessaoplenaria', |
||||
|
name='sessao_legislativa', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.SessaoLegislativa', verbose_name='Sessão Legislativa'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='sessaoplenaria', |
||||
|
name='tipo', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='sessao.TipoSessaoPlenaria', verbose_name='Tipo'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='sessaoplenariapresenca', |
||||
|
name='parlamentar', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Parlamentar'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='sessaoplenariapresenca', |
||||
|
name='sessao_plenaria', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='sessao.SessaoPlenaria'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='votonominal', |
||||
|
name='materia', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='materia.MateriaLegislativa'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='votonominal', |
||||
|
name='parlamentar', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Parlamentar'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='votonominal', |
||||
|
name='sessao', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='sessao.SessaoPlenaria'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='votonominal', |
||||
|
name='user', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='votoparlamentar', |
||||
|
name='parlamentar', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Parlamentar'), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='votoparlamentar', |
||||
|
name='votacao', |
||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='sessao.RegistroVotacao'), |
||||
|
), |
||||
|
] |
Loading…
Reference in new issue