@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django . db import models , migrations
from django . db import models , migrations
@ -27,11 +27,11 @@ class Migration(migrations.Migration):
migrations . CreateModel (
migrations . CreateModel (
name = ' Anexada ' ,
name = ' Anexada ' ,
fields = [
fields = [
( ' id ' , models . AutoField ( verbose_name = ' ID ' , serialize = False , auto_created = True , primary_key = True ) ) ,
( ' id ' , models . AutoField ( serialize = False , primary_key = True , auto_created = True , verbose_name = ' ID ' ) ) ,
( ' cod_materia_principal ' , models . IntegerField ( ) ) ,
( ' cod_materia_principal ' , models . IntegerField ( ) ) ,
( ' cod_materia_anexada ' , models . IntegerField ( ) ) ,
( ' cod_materia_anexada ' , models . IntegerField ( ) ) ,
( ' dat_anexacao ' , models . DateField ( ) ) ,
( ' dat_anexacao ' , models . DateField ( ) ) ,
( ' dat_desanexacao ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_desanexacao ' , models . DateField ( blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -57,7 +57,7 @@ class Migration(migrations.Migration):
fields = [
fields = [
( ' cod_assunto ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_assunto ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' des_assunto ' , models . CharField ( max_length = 50 ) ) ,
( ' des_assunto ' , models . CharField ( max_length = 50 ) ) ,
( ' des_estendida ' , models . CharField ( max_length = 250 , null = True , blank = True ) ) ,
( ' des_estendida ' , models . CharField ( max_length = 250 , blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -69,13 +69,13 @@ class Migration(migrations.Migration):
name = ' Autor ' ,
name = ' Autor ' ,
fields = [
fields = [
( ' cod_autor ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_autor ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_partido ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' cod_partido ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' cod_comissao ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' cod_comissao ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' cod_parlamentar ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' cod_parlamentar ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' tip_autor ' , models . IntegerField ( ) ) ,
( ' tip_autor ' , models . IntegerField ( ) ) ,
( ' nom_autor ' , models . CharField ( max_length = 50 , null = True , blank = True ) ) ,
( ' nom_autor ' , models . CharField ( max_length = 50 , blank = True , null = True ) ) ,
( ' des_cargo ' , models . CharField ( max_length = 50 , null = True , blank = True ) ) ,
( ' des_cargo ' , models . CharField ( max_length = 50 , blank = True , null = True ) ) ,
( ' col_username ' , models . CharField ( max_length = 50 , null = True , blank = True ) ) ,
( ' col_username ' , models . CharField ( max_length = 50 , blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -86,7 +86,7 @@ class Migration(migrations.Migration):
migrations . CreateModel (
migrations . CreateModel (
name = ' Autoria ' ,
name = ' Autoria ' ,
fields = [
fields = [
( ' id ' , models . AutoField ( verbose_name = ' ID ' , serialize = False , auto_created = True , primary_key = True ) ) ,
( ' id ' , models . AutoField ( serialize = False , primary_key = True , auto_created = True , verbose_name = ' ID ' ) ) ,
( ' cod_autor ' , models . IntegerField ( ) ) ,
( ' cod_autor ' , models . IntegerField ( ) ) ,
( ' cod_materia ' , models . IntegerField ( ) ) ,
( ' cod_materia ' , models . IntegerField ( ) ) ,
( ' ind_primeiro_autor ' , models . IntegerField ( ) ) ,
( ' ind_primeiro_autor ' , models . IntegerField ( ) ) ,
@ -129,7 +129,7 @@ class Migration(migrations.Migration):
( ' cod_coligacao ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_coligacao ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' num_legislatura ' , models . IntegerField ( ) ) ,
( ' num_legislatura ' , models . IntegerField ( ) ) ,
( ' nom_coligacao ' , models . CharField ( max_length = 50 ) ) ,
( ' nom_coligacao ' , models . CharField ( max_length = 50 ) ) ,
( ' num_votos_coligacao ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' num_votos_coligacao ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -145,21 +145,21 @@ class Migration(migrations.Migration):
( ' nom_comissao ' , models . CharField ( max_length = 60 ) ) ,
( ' nom_comissao ' , models . CharField ( max_length = 60 ) ) ,
( ' sgl_comissao ' , models . CharField ( max_length = 10 ) ) ,
( ' sgl_comissao ' , models . CharField ( max_length = 10 ) ) ,
( ' dat_criacao ' , models . DateField ( ) ) ,
( ' dat_criacao ' , models . DateField ( ) ) ,
( ' dat_extincao ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_extincao ' , models . DateField ( blank = True , null = True ) ) ,
( ' nom_apelido_temp ' , models . CharField ( max_length = 100 , null = True , blank = True ) ) ,
( ' nom_apelido_temp ' , models . CharField ( max_length = 100 , blank = True , null = True ) ) ,
( ' dat_instalacao_temp ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_instalacao_temp ' , models . DateField ( blank = True , null = True ) ) ,
( ' dat_final_prevista_temp ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_final_prevista_temp ' , models . DateField ( blank = True , null = True ) ) ,
( ' dat_prorrogada_temp ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_prorrogada_temp ' , models . DateField ( blank = True , null = True ) ) ,
( ' dat_fim_comissao ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_fim_comissao ' , models . DateField ( blank = True , null = True ) ) ,
( ' nom_secretario ' , models . CharField ( max_length = 30 , null = True , blank = True ) ) ,
( ' nom_secretario ' , models . CharField ( max_length = 30 , blank = True , null = True ) ) ,
( ' num_tel_reuniao ' , models . CharField ( max_length = 15 , null = True , blank = True ) ) ,
( ' num_tel_reuniao ' , models . CharField ( max_length = 15 , blank = True , null = True ) ) ,
( ' end_secretaria ' , models . CharField ( max_length = 100 , null = True , blank = True ) ) ,
( ' end_secretaria ' , models . CharField ( max_length = 100 , blank = True , null = True ) ) ,
( ' num_tel_secretaria ' , models . CharField ( max_length = 15 , null = True , blank = True ) ) ,
( ' num_tel_secretaria ' , models . CharField ( max_length = 15 , blank = True , null = True ) ) ,
( ' num_fax_secretaria ' , models . CharField ( max_length = 15 , null = True , blank = True ) ) ,
( ' num_fax_secretaria ' , models . CharField ( max_length = 15 , blank = True , null = True ) ) ,
( ' des_agenda_reuniao ' , models . CharField ( max_length = 100 , null = True , blank = True ) ) ,
( ' des_agenda_reuniao ' , models . CharField ( max_length = 100 , blank = True , null = True ) ) ,
( ' loc_reuniao ' , models . CharField ( max_length = 100 , null = True , blank = True ) ) ,
( ' loc_reuniao ' , models . CharField ( max_length = 100 , blank = True , null = True ) ) ,
( ' txt_finalidade ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_finalidade ' , models . TextField ( blank = True , null = True ) ) ,
( ' end_email ' , models . CharField ( max_length = 100 , null = True , blank = True ) ) ,
( ' end_email ' , models . CharField ( max_length = 100 , blank = True , null = True ) ) ,
( ' ind_unid_deliberativa ' , models . IntegerField ( ) ) ,
( ' ind_unid_deliberativa ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
@ -171,7 +171,7 @@ class Migration(migrations.Migration):
migrations . CreateModel (
migrations . CreateModel (
name = ' ComposicaoColigacao ' ,
name = ' ComposicaoColigacao ' ,
fields = [
fields = [
( ' id ' , models . AutoField ( verbose_name = ' ID ' , serialize = False , auto_created = True , primary_key = True ) ) ,
( ' id ' , models . AutoField ( serialize = False , primary_key = True , auto_created = True , verbose_name = ' ID ' ) ) ,
( ' cod_partido ' , models . IntegerField ( ) ) ,
( ' cod_partido ' , models . IntegerField ( ) ) ,
( ' cod_coligacao ' , models . IntegerField ( ) ) ,
( ' cod_coligacao ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
@ -191,9 +191,9 @@ class Migration(migrations.Migration):
( ' cod_cargo ' , models . IntegerField ( ) ) ,
( ' cod_cargo ' , models . IntegerField ( ) ) ,
( ' ind_titular ' , models . IntegerField ( ) ) ,
( ' ind_titular ' , models . IntegerField ( ) ) ,
( ' dat_designacao ' , models . DateField ( ) ) ,
( ' dat_designacao ' , models . DateField ( ) ) ,
( ' dat_desligamento ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_desligamento ' , models . DateField ( blank = True , null = True ) ) ,
( ' des_motivo_desligamento ' , models . CharField ( max_length = 150 , null = True , blank = True ) ) ,
( ' des_motivo_desligamento ' , models . CharField ( max_length = 150 , blank = True , null = True ) ) ,
( ' obs_composicao ' , models . CharField ( max_length = 150 , null = True , blank = True ) ) ,
( ' obs_composicao ' , models . CharField ( max_length = 150 , blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -204,7 +204,7 @@ class Migration(migrations.Migration):
migrations . CreateModel (
migrations . CreateModel (
name = ' ComposicaoMesa ' ,
name = ' ComposicaoMesa ' ,
fields = [
fields = [
( ' id ' , models . AutoField ( verbose_name = ' ID ' , serialize = False , auto_created = True , primary_key = True ) ) ,
( ' id ' , models . AutoField ( serialize = False , primary_key = True , auto_created = True , verbose_name = ' ID ' ) ) ,
( ' cod_parlamentar ' , models . IntegerField ( ) ) ,
( ' cod_parlamentar ' , models . IntegerField ( ) ) ,
( ' cod_sessao_leg ' , models . IntegerField ( ) ) ,
( ' cod_sessao_leg ' , models . IntegerField ( ) ) ,
( ' cod_cargo ' , models . IntegerField ( ) ) ,
( ' cod_cargo ' , models . IntegerField ( ) ) ,
@ -223,10 +223,10 @@ class Migration(migrations.Migration):
( ' cod_parlamentar ' , models . IntegerField ( ) ) ,
( ' cod_parlamentar ' , models . IntegerField ( ) ) ,
( ' nom_dependente ' , models . CharField ( max_length = 50 ) ) ,
( ' nom_dependente ' , models . CharField ( max_length = 50 ) ) ,
( ' sex_dependente ' , models . CharField ( max_length = 1 ) ) ,
( ' sex_dependente ' , models . CharField ( max_length = 1 ) ) ,
( ' dat_nascimento ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_nascimento ' , models . DateField ( blank = True , null = True ) ) ,
( ' num_cpf ' , models . CharField ( max_length = 14 , null = True , blank = True ) ) ,
( ' num_cpf ' , models . CharField ( max_length = 14 , blank = True , null = True ) ) ,
( ' num_rg ' , models . CharField ( max_length = 15 , null = True , blank = True ) ) ,
( ' num_rg ' , models . CharField ( max_length = 15 , blank = True , null = True ) ) ,
( ' num_tit_eleitor ' , models . CharField ( max_length = 15 , null = True , blank = True ) ) ,
( ' num_tit_eleitor ' , models . CharField ( max_length = 15 , blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -237,7 +237,7 @@ class Migration(migrations.Migration):
migrations . CreateModel (
migrations . CreateModel (
name = ' DespachoInicial ' ,
name = ' DespachoInicial ' ,
fields = [
fields = [
( ' id ' , models . AutoField ( verbose_name = ' ID ' , serialize = False , auto_created = True , primary_key = True ) ) ,
( ' id ' , models . AutoField ( serialize = False , primary_key = True , auto_created = True , verbose_name = ' ID ' ) ) ,
( ' cod_materia ' , models . IntegerField ( ) ) ,
( ' cod_materia ' , models . IntegerField ( ) ) ,
( ' num_ordem ' , models . IntegerField ( ) ) ,
( ' num_ordem ' , models . IntegerField ( ) ) ,
( ' cod_comissao ' , models . IntegerField ( ) ) ,
( ' cod_comissao ' , models . IntegerField ( ) ) ,
@ -255,10 +255,10 @@ class Migration(migrations.Migration):
( ' cod_materia ' , models . IntegerField ( ) ) ,
( ' cod_materia ' , models . IntegerField ( ) ) ,
( ' tip_documento ' , models . IntegerField ( ) ) ,
( ' tip_documento ' , models . IntegerField ( ) ) ,
( ' nom_documento ' , models . CharField ( max_length = 30 ) ) ,
( ' nom_documento ' , models . CharField ( max_length = 30 ) ) ,
( ' dat_documento ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_documento ' , models . DateField ( blank = True , null = True ) ) ,
( ' nom_autor_documento ' , models . CharField ( max_length = 50 , null = True , blank = True ) ) ,
( ' nom_autor_documento ' , models . CharField ( max_length = 50 , blank = True , null = True ) ) ,
( ' txt_ementa ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_ementa ' , models . TextField ( blank = True , null = True ) ) ,
( ' txt_indexacao ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_indexacao ' , models . TextField ( blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -274,10 +274,10 @@ class Migration(migrations.Migration):
( ' tip_documento ' , models . IntegerField ( ) ) ,
( ' tip_documento ' , models . IntegerField ( ) ) ,
( ' nom_documento ' , models . CharField ( max_length = 30 ) ) ,
( ' nom_documento ' , models . CharField ( max_length = 30 ) ) ,
( ' nom_arquivo ' , models . CharField ( max_length = 100 ) ) ,
( ' nom_arquivo ' , models . CharField ( max_length = 100 ) ) ,
( ' dat_documento ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_documento ' , models . DateField ( blank = True , null = True ) ) ,
( ' nom_autor_documento ' , models . CharField ( max_length = 50 , null = True , blank = True ) ) ,
( ' nom_autor_documento ' , models . CharField ( max_length = 50 , blank = True , null = True ) ) ,
( ' txt_assunto ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_assunto ' , models . TextField ( blank = True , null = True ) ) ,
( ' txt_indexacao ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_indexacao ' , models . TextField ( blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -293,14 +293,14 @@ class Migration(migrations.Migration):
( ' num_documento ' , models . IntegerField ( ) ) ,
( ' num_documento ' , models . IntegerField ( ) ) ,
( ' ano_documento ' , models . SmallIntegerField ( ) ) ,
( ' ano_documento ' , models . SmallIntegerField ( ) ) ,
( ' dat_documento ' , models . DateField ( ) ) ,
( ' dat_documento ' , models . DateField ( ) ) ,
( ' num_protocolo ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' num_protocolo ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' txt_interessado ' , models . CharField ( max_length = 50 , null = True , blank = True ) ) ,
( ' txt_interessado ' , models . CharField ( max_length = 50 , blank = True , null = True ) ) ,
( ' cod_autor ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' cod_autor ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' num_dias_prazo ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' num_dias_prazo ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' dat_fim_prazo ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_fim_prazo ' , models . DateField ( blank = True , null = True ) ) ,
( ' ind_tramitacao ' , models . IntegerField ( ) ) ,
( ' ind_tramitacao ' , models . IntegerField ( ) ) ,
( ' txt_assunto ' , models . TextField ( ) ) ,
( ' txt_assunto ' , models . TextField ( ) ) ,
( ' txt_observacao ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_observacao ' , models . TextField ( blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -315,10 +315,10 @@ class Migration(migrations.Migration):
( ' cod_sessao_plen ' , models . IntegerField ( ) ) ,
( ' cod_sessao_plen ' , models . IntegerField ( ) ) ,
( ' cod_materia ' , models . IntegerField ( ) ) ,
( ' cod_materia ' , models . IntegerField ( ) ) ,
( ' dat_ordem ' , models . DateField ( ) ) ,
( ' dat_ordem ' , models . DateField ( ) ) ,
( ' txt_observacao ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_observacao ' , models . TextField ( blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' num_ordem ' , models . IntegerField ( ) ) ,
( ' num_ordem ' , models . IntegerField ( ) ) ,
( ' txt_resultado ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_resultado ' , models . TextField ( blank = True , null = True ) ) ,
( ' tip_votacao ' , models . IntegerField ( ) ) ,
( ' tip_votacao ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -329,10 +329,10 @@ class Migration(migrations.Migration):
migrations . CreateModel (
migrations . CreateModel (
name = ' ExpedienteSessaoPlenaria ' ,
name = ' ExpedienteSessaoPlenaria ' ,
fields = [
fields = [
( ' id ' , models . AutoField ( verbose_name = ' ID ' , serialize = False , auto_created = True , primary_key = True ) ) ,
( ' id ' , models . AutoField ( serialize = False , primary_key = True , auto_created = True , verbose_name = ' ID ' ) ) ,
( ' cod_sessao_plen ' , models . IntegerField ( ) ) ,
( ' cod_sessao_plen ' , models . IntegerField ( ) ) ,
( ' cod_expediente ' , models . IntegerField ( ) ) ,
( ' cod_expediente ' , models . IntegerField ( ) ) ,
( ' txt_expediente ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_expediente ' , models . TextField ( blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -343,11 +343,11 @@ class Migration(migrations.Migration):
migrations . CreateModel (
migrations . CreateModel (
name = ' Filiacao ' ,
name = ' Filiacao ' ,
fields = [
fields = [
( ' id ' , models . AutoField ( verbose_name = ' ID ' , serialize = False , auto_created = True , primary_key = True ) ) ,
( ' id ' , models . AutoField ( serialize = False , primary_key = True , auto_created = True , verbose_name = ' ID ' ) ) ,
( ' dat_filiacao ' , models . DateField ( ) ) ,
( ' dat_filiacao ' , models . DateField ( ) ) ,
( ' cod_parlamentar ' , models . IntegerField ( ) ) ,
( ' cod_parlamentar ' , models . IntegerField ( ) ) ,
( ' cod_partido ' , models . IntegerField ( ) ) ,
( ' cod_partido ' , models . IntegerField ( ) ) ,
( ' dat_desfiliacao ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_desfiliacao ' , models . DateField ( blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -358,21 +358,21 @@ class Migration(migrations.Migration):
migrations . CreateModel (
migrations . CreateModel (
name = ' LegislacaoCitada ' ,
name = ' LegislacaoCitada ' ,
fields = [
fields = [
( ' id ' , models . AutoField ( verbose_name = ' ID ' , serialize = False , auto_created = True , primary_key = True ) ) ,
( ' id ' , models . AutoField ( serialize = False , primary_key = True , auto_created = True , verbose_name = ' ID ' ) ) ,
( ' cod_materia ' , models . IntegerField ( ) ) ,
( ' cod_materia ' , models . IntegerField ( ) ) ,
( ' cod_norma ' , models . IntegerField ( ) ) ,
( ' cod_norma ' , models . IntegerField ( ) ) ,
( ' des_disposicoes ' , models . CharField ( max_length = 15 , null = True , blank = True ) ) ,
( ' des_disposicoes ' , models . CharField ( max_length = 15 , blank = True , null = True ) ) ,
( ' des_parte ' , models . CharField ( max_length = 8 , null = True , blank = True ) ) ,
( ' des_parte ' , models . CharField ( max_length = 8 , blank = True , null = True ) ) ,
( ' des_livro ' , models . CharField ( max_length = 7 , null = True , blank = True ) ) ,
( ' des_livro ' , models . CharField ( max_length = 7 , blank = True , null = True ) ) ,
( ' des_titulo ' , models . CharField ( max_length = 7 , null = True , blank = True ) ) ,
( ' des_titulo ' , models . CharField ( max_length = 7 , blank = True , null = True ) ) ,
( ' des_capitulo ' , models . CharField ( max_length = 7 , null = True , blank = True ) ) ,
( ' des_capitulo ' , models . CharField ( max_length = 7 , blank = True , null = True ) ) ,
( ' des_secao ' , models . CharField ( max_length = 7 , null = True , blank = True ) ) ,
( ' des_secao ' , models . CharField ( max_length = 7 , blank = True , null = True ) ) ,
( ' des_subsecao ' , models . CharField ( max_length = 7 , null = True , blank = True ) ) ,
( ' des_subsecao ' , models . CharField ( max_length = 7 , blank = True , null = True ) ) ,
( ' des_artigo ' , models . CharField ( max_length = 4 , null = True , blank = True ) ) ,
( ' des_artigo ' , models . CharField ( max_length = 4 , blank = True , null = True ) ) ,
( ' des_paragrafo ' , models . CharField ( max_length = 3 , null = True , blank = True ) ) ,
( ' des_paragrafo ' , models . CharField ( max_length = 3 , blank = True , null = True ) ) ,
( ' des_inciso ' , models . CharField ( max_length = 10 , null = True , blank = True ) ) ,
( ' des_inciso ' , models . CharField ( max_length = 10 , blank = True , null = True ) ) ,
( ' des_alinea ' , models . CharField ( max_length = 3 , null = True , blank = True ) ) ,
( ' des_alinea ' , models . CharField ( max_length = 3 , blank = True , null = True ) ) ,
( ' des_item ' , models . CharField ( max_length = 3 , null = True , blank = True ) ) ,
( ' des_item ' , models . CharField ( max_length = 3 , blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -401,11 +401,11 @@ class Migration(migrations.Migration):
( ' id_provedor ' , models . IntegerField ( ) ) ,
( ' id_provedor ' , models . IntegerField ( ) ) ,
( ' nom_provedor ' , models . CharField ( max_length = 255 ) ) ,
( ' nom_provedor ' , models . CharField ( max_length = 255 ) ) ,
( ' sgl_provedor ' , models . CharField ( max_length = 15 ) ) ,
( ' sgl_provedor ' , models . CharField ( max_length = 15 ) ) ,
( ' adm_email ' , models . CharField ( max_length = 50 , null = True , blank = True ) ) ,
( ' adm_email ' , models . CharField ( max_length = 50 , blank = True , null = True ) ) ,
( ' nom_responsavel ' , models . CharField ( max_length = 255 , null = True , blank = True ) ) ,
( ' nom_responsavel ' , models . CharField ( max_length = 255 , blank = True , null = True ) ) ,
( ' tipo ' , models . CharField ( max_length = 50 ) ) ,
( ' tipo ' , models . CharField ( max_length = 50 ) ) ,
( ' id_responsavel ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' id_responsavel ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' xml_provedor ' , models . TextField ( null = True , blank = True ) ) ,
( ' xml_provedor ' , models . TextField ( blank = True , null = True ) ) ,
] ,
] ,
options = {
options = {
' db_table ' : ' lexml_registro_provedor ' ,
' db_table ' : ' lexml_registro_provedor ' ,
@ -418,9 +418,9 @@ class Migration(migrations.Migration):
( ' cod_publicador ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_publicador ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' id_publicador ' , models . IntegerField ( ) ) ,
( ' id_publicador ' , models . IntegerField ( ) ) ,
( ' nom_publicador ' , models . CharField ( max_length = 255 ) ) ,
( ' nom_publicador ' , models . CharField ( max_length = 255 ) ) ,
( ' adm_email ' , models . CharField ( max_length = 50 , null = True , blank = True ) ) ,
( ' adm_email ' , models . CharField ( max_length = 50 , blank = True , null = True ) ) ,
( ' sigla ' , models . CharField ( max_length = 255 , null = True , blank = True ) ) ,
( ' sigla ' , models . CharField ( max_length = 255 , blank = True , null = True ) ) ,
( ' nom_responsavel ' , models . CharField ( max_length = 255 , null = True , blank = True ) ) ,
( ' nom_responsavel ' , models . CharField ( max_length = 255 , blank = True , null = True ) ) ,
( ' tipo ' , models . CharField ( max_length = 50 ) ) ,
( ' tipo ' , models . CharField ( max_length = 50 ) ) ,
( ' id_responsavel ' , models . IntegerField ( ) ) ,
( ' id_responsavel ' , models . IntegerField ( ) ) ,
] ,
] ,
@ -433,11 +433,11 @@ class Migration(migrations.Migration):
name = ' Localidade ' ,
name = ' Localidade ' ,
fields = [
fields = [
( ' cod_localidade ' , models . IntegerField ( serialize = False , primary_key = True ) ) ,
( ' cod_localidade ' , models . IntegerField ( serialize = False , primary_key = True ) ) ,
( ' nom_localidade ' , models . CharField ( max_length = 50 , null = True , blank = True ) ) ,
( ' nom_localidade ' , models . CharField ( max_length = 50 , blank = True , null = True ) ) ,
( ' nom_localidade_pesq ' , models . CharField ( max_length = 50 , null = True , blank = True ) ) ,
( ' nom_localidade_pesq ' , models . CharField ( max_length = 50 , blank = True , null = True ) ) ,
( ' tip_localidade ' , models . CharField ( max_length = 1 , null = True , blank = True ) ) ,
( ' tip_localidade ' , models . CharField ( max_length = 1 , blank = True , null = True ) ) ,
( ' sgl_uf ' , models . CharField ( max_length = 2 , null = True , blank = True ) ) ,
( ' sgl_uf ' , models . CharField ( max_length = 2 , blank = True , null = True ) ) ,
( ' sgl_regiao ' , models . CharField ( max_length = 2 , null = True , blank = True ) ) ,
( ' sgl_regiao ' , models . CharField ( max_length = 2 , blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -450,14 +450,14 @@ class Migration(migrations.Migration):
fields = [
fields = [
( ' cod_mandato ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_mandato ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_parlamentar ' , models . IntegerField ( ) ) ,
( ' cod_parlamentar ' , models . IntegerField ( ) ) ,
( ' tip_afastamento ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' tip_afastamento ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' num_legislatura ' , models . IntegerField ( ) ) ,
( ' num_legislatura ' , models . IntegerField ( ) ) ,
( ' cod_coligacao ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' cod_coligacao ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' tip_causa_fim_mandato ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' tip_causa_fim_mandato ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' dat_fim_mandato ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_fim_mandato ' , models . DateField ( blank = True , null = True ) ) ,
( ' num_votos_recebidos ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' num_votos_recebidos ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' dat_expedicao_diploma ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_expedicao_diploma ' , models . DateField ( blank = True , null = True ) ) ,
( ' txt_observacao ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_observacao ' , models . TextField ( blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -468,7 +468,7 @@ class Migration(migrations.Migration):
migrations . CreateModel (
migrations . CreateModel (
name = ' MateriaAssunto ' ,
name = ' MateriaAssunto ' ,
fields = [
fields = [
( ' id ' , models . AutoField ( verbose_name = ' ID ' , serialize = False , auto_created = True , primary_key = True ) ) ,
( ' id ' , models . AutoField ( serialize = False , primary_key = True , auto_created = True , verbose_name = ' ID ' ) ) ,
( ' cod_assunto ' , models . IntegerField ( ) ) ,
( ' cod_assunto ' , models . IntegerField ( ) ) ,
( ' cod_materia ' , models . IntegerField ( ) ) ,
( ' cod_materia ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
@ -483,30 +483,30 @@ class Migration(migrations.Migration):
fields = [
fields = [
( ' cod_materia ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_materia ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' tip_id_basica ' , models . IntegerField ( ) ) ,
( ' tip_id_basica ' , models . IntegerField ( ) ) ,
( ' num_protocolo ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' num_protocolo ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' num_ident_basica ' , models . IntegerField ( ) ) ,
( ' num_ident_basica ' , models . IntegerField ( ) ) ,
( ' ano_ident_basica ' , models . SmallIntegerField ( ) ) ,
( ' ano_ident_basica ' , models . SmallIntegerField ( ) ) ,
( ' dat_apresentacao ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_apresentacao ' , models . DateField ( blank = True , null = True ) ) ,
( ' tip_apresentacao ' , models . CharField ( max_length = 1 , null = True , blank = True ) ) ,
( ' tip_apresentacao ' , models . CharField ( max_length = 1 , blank = True , null = True ) ) ,
( ' cod_regime_tramitacao ' , models . IntegerField ( ) ) ,
( ' cod_regime_tramitacao ' , models . IntegerField ( ) ) ,
( ' dat_publicacao ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_publicacao ' , models . DateField ( blank = True , null = True ) ) ,
( ' tip_origem_externa ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' tip_origem_externa ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' num_origem_externa ' , models . CharField ( max_length = 5 , null = True , blank = True ) ) ,
( ' num_origem_externa ' , models . CharField ( max_length = 5 , blank = True , null = True ) ) ,
( ' ano_origem_externa ' , models . SmallIntegerField ( null = True , blank = True ) ) ,
( ' ano_origem_externa ' , models . SmallIntegerField ( blank = True , null = True ) ) ,
( ' dat_origem_externa ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_origem_externa ' , models . DateField ( blank = True , null = True ) ) ,
( ' cod_local_origem_externa ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' cod_local_origem_externa ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' nom_apelido ' , models . CharField ( max_length = 50 , null = True , blank = True ) ) ,
( ' nom_apelido ' , models . CharField ( max_length = 50 , blank = True , null = True ) ) ,
( ' num_dias_prazo ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' num_dias_prazo ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' dat_fim_prazo ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_fim_prazo ' , models . DateField ( blank = True , null = True ) ) ,
( ' ind_tramitacao ' , models . IntegerField ( ) ) ,
( ' ind_tramitacao ' , models . IntegerField ( ) ) ,
( ' ind_polemica ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' ind_polemica ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' des_objeto ' , models . CharField ( max_length = 150 , null = True , blank = True ) ) ,
( ' des_objeto ' , models . CharField ( max_length = 150 , blank = True , null = True ) ) ,
( ' ind_complementar ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' ind_complementar ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' txt_ementa ' , models . TextField ( ) ) ,
( ' txt_ementa ' , models . TextField ( ) ) ,
( ' txt_indexacao ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_indexacao ' , models . TextField ( blank = True , null = True ) ) ,
( ' txt_observacao ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_observacao ' , models . TextField ( blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' txt_resultado ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_resultado ' , models . TextField ( blank = True , null = True ) ) ,
] ,
] ,
options = {
options = {
' db_table ' : ' materia_legislativa ' ,
' db_table ' : ' materia_legislativa ' ,
@ -516,12 +516,12 @@ class Migration(migrations.Migration):
migrations . CreateModel (
migrations . CreateModel (
name = ' MesaSessaoPlenaria ' ,
name = ' MesaSessaoPlenaria ' ,
fields = [
fields = [
( ' id ' , models . AutoField ( verbose_name = ' ID ' , serialize = False , auto_created = True , primary_key = True ) ) ,
( ' id ' , models . AutoField ( serialize = False , primary_key = True , auto_created = True , verbose_name = ' ID ' ) ) ,
( ' cod_cargo ' , models . IntegerField ( ) ) ,
( ' cod_cargo ' , models . IntegerField ( ) ) ,
( ' cod_sessao_leg ' , models . IntegerField ( ) ) ,
( ' cod_sessao_leg ' , models . IntegerField ( ) ) ,
( ' cod_parlamentar ' , models . IntegerField ( ) ) ,
( ' cod_parlamentar ' , models . IntegerField ( ) ) ,
( ' cod_sessao_plen ' , models . IntegerField ( ) ) ,
( ' cod_sessao_plen ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( blank = True , null = True ) ) ,
] ,
] ,
options = {
options = {
' db_table ' : ' mesa_sessao_plenaria ' ,
' db_table ' : ' mesa_sessao_plenaria ' ,
@ -545,21 +545,21 @@ class Migration(migrations.Migration):
fields = [
fields = [
( ' cod_norma ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_norma ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' tip_norma ' , models . IntegerField ( ) ) ,
( ' tip_norma ' , models . IntegerField ( ) ) ,
( ' cod_materia ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' cod_materia ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' num_norma ' , models . IntegerField ( ) ) ,
( ' num_norma ' , models . IntegerField ( ) ) ,
( ' ano_norma ' , models . SmallIntegerField ( ) ) ,
( ' ano_norma ' , models . SmallIntegerField ( ) ) ,
( ' tip_esfera_federacao ' , models . CharField ( max_length = 1 ) ) ,
( ' tip_esfera_federacao ' , models . CharField ( max_length = 1 ) ) ,
( ' dat_norma ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_norma ' , models . DateField ( blank = True , null = True ) ) ,
( ' dat_publicacao ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_publicacao ' , models . DateField ( blank = True , null = True ) ) ,
( ' des_veiculo_publicacao ' , models . CharField ( max_length = 30 , null = True , blank = True ) ) ,
( ' des_veiculo_publicacao ' , models . CharField ( max_length = 30 , blank = True , null = True ) ) ,
( ' num_pag_inicio_publ ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' num_pag_inicio_publ ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' num_pag_fim_publ ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' num_pag_fim_publ ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' txt_ementa ' , models . TextField ( ) ) ,
( ' txt_ementa ' , models . TextField ( ) ) ,
( ' txt_indexacao ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_indexacao ' , models . TextField ( blank = True , null = True ) ) ,
( ' txt_observacao ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_observacao ' , models . TextField ( blank = True , null = True ) ) ,
( ' ind_complemento ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' ind_complemento ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' cod_assunto ' , models . CharField ( max_length = 16 ) ) ,
( ' cod_assunto ' , models . CharField ( max_length = 16 ) ) ,
( ' dat_vigencia ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_vigencia ' , models . DateField ( blank = True , null = True ) ) ,
( ' timestamp ' , models . DateTimeField ( ) ) ,
( ' timestamp ' , models . DateTimeField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
@ -571,13 +571,13 @@ class Migration(migrations.Migration):
migrations . CreateModel (
migrations . CreateModel (
name = ' Numeracao ' ,
name = ' Numeracao ' ,
fields = [
fields = [
( ' id ' , models . AutoField ( verbose_name = ' ID ' , serialize = False , auto_created = True , primary_key = True ) ) ,
( ' id ' , models . AutoField ( serialize = False , primary_key = True , auto_created = True , verbose_name = ' ID ' ) ) ,
( ' cod_materia ' , models . IntegerField ( ) ) ,
( ' cod_materia ' , models . IntegerField ( ) ) ,
( ' num_ordem ' , models . IntegerField ( ) ) ,
( ' num_ordem ' , models . IntegerField ( ) ) ,
( ' tip_materia ' , models . IntegerField ( ) ) ,
( ' tip_materia ' , models . IntegerField ( ) ) ,
( ' num_materia ' , models . CharField ( max_length = 5 ) ) ,
( ' num_materia ' , models . CharField ( max_length = 5 ) ) ,
( ' ano_materia ' , models . SmallIntegerField ( ) ) ,
( ' ano_materia ' , models . SmallIntegerField ( ) ) ,
( ' dat_materia ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_materia ' , models . DateField ( blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -588,11 +588,11 @@ class Migration(migrations.Migration):
migrations . CreateModel (
migrations . CreateModel (
name = ' Oradores ' ,
name = ' Oradores ' ,
fields = [
fields = [
( ' id ' , models . AutoField ( verbose_name = ' ID ' , serialize = False , auto_created = True , primary_key = True ) ) ,
( ' id ' , models . AutoField ( serialize = False , primary_key = True , auto_created = True , verbose_name = ' ID ' ) ) ,
( ' cod_sessao_plen ' , models . IntegerField ( ) ) ,
( ' cod_sessao_plen ' , models . IntegerField ( ) ) ,
( ' cod_parlamentar ' , models . IntegerField ( ) ) ,
( ' cod_parlamentar ' , models . IntegerField ( ) ) ,
( ' num_ordem ' , models . IntegerField ( ) ) ,
( ' num_ordem ' , models . IntegerField ( ) ) ,
( ' url_discurso ' , models . CharField ( max_length = 150 , null = True , blank = True ) ) ,
( ' url_discurso ' , models . CharField ( max_length = 150 , blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -603,11 +603,11 @@ class Migration(migrations.Migration):
migrations . CreateModel (
migrations . CreateModel (
name = ' OradoresExpediente ' ,
name = ' OradoresExpediente ' ,
fields = [
fields = [
( ' id ' , models . AutoField ( verbose_name = ' ID ' , serialize = False , auto_created = True , primary_key = True ) ) ,
( ' id ' , models . AutoField ( serialize = False , primary_key = True , auto_created = True , verbose_name = ' ID ' ) ) ,
( ' cod_sessao_plen ' , models . IntegerField ( ) ) ,
( ' cod_sessao_plen ' , models . IntegerField ( ) ) ,
( ' cod_parlamentar ' , models . IntegerField ( ) ) ,
( ' cod_parlamentar ' , models . IntegerField ( ) ) ,
( ' num_ordem ' , models . IntegerField ( ) ) ,
( ' num_ordem ' , models . IntegerField ( ) ) ,
( ' url_discurso ' , models . CharField ( max_length = 150 , null = True , blank = True ) ) ,
( ' url_discurso ' , models . CharField ( max_length = 150 , blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -622,10 +622,10 @@ class Migration(migrations.Migration):
( ' cod_sessao_plen ' , models . IntegerField ( ) ) ,
( ' cod_sessao_plen ' , models . IntegerField ( ) ) ,
( ' cod_materia ' , models . IntegerField ( ) ) ,
( ' cod_materia ' , models . IntegerField ( ) ) ,
( ' dat_ordem ' , models . DateField ( ) ) ,
( ' dat_ordem ' , models . DateField ( ) ) ,
( ' txt_observacao ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_observacao ' , models . TextField ( blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' num_ordem ' , models . IntegerField ( ) ) ,
( ' num_ordem ' , models . IntegerField ( ) ) ,
( ' txt_resultado ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_resultado ' , models . TextField ( blank = True , null = True ) ) ,
( ' tip_votacao ' , models . IntegerField ( ) ) ,
( ' tip_votacao ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -654,8 +654,8 @@ class Migration(migrations.Migration):
( ' nom_orgao ' , models . CharField ( max_length = 60 ) ) ,
( ' nom_orgao ' , models . CharField ( max_length = 60 ) ) ,
( ' sgl_orgao ' , models . CharField ( max_length = 10 ) ) ,
( ' sgl_orgao ' , models . CharField ( max_length = 10 ) ) ,
( ' ind_unid_deliberativa ' , models . IntegerField ( ) ) ,
( ' ind_unid_deliberativa ' , models . IntegerField ( ) ) ,
( ' end_orgao ' , models . CharField ( max_length = 100 , null = True , blank = True ) ) ,
( ' end_orgao ' , models . CharField ( max_length = 100 , blank = True , null = True ) ) ,
( ' num_tel_orgao ' , models . CharField ( max_length = 50 , null = True , blank = True ) ) ,
( ' num_tel_orgao ' , models . CharField ( max_length = 50 , blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -679,12 +679,12 @@ class Migration(migrations.Migration):
migrations . CreateModel (
migrations . CreateModel (
name = ' Parecer ' ,
name = ' Parecer ' ,
fields = [
fields = [
( ' id ' , models . AutoField ( verbose_name = ' ID ' , serialize = False , auto_created = True , primary_key = True ) ) ,
( ' id ' , models . AutoField ( serialize = False , primary_key = True , auto_created = True , verbose_name = ' ID ' ) ) ,
( ' cod_relatoria ' , models . IntegerField ( ) ) ,
( ' cod_relatoria ' , models . IntegerField ( ) ) ,
( ' cod_materia ' , models . IntegerField ( ) ) ,
( ' cod_materia ' , models . IntegerField ( ) ) ,
( ' tip_conclusao ' , models . CharField ( max_length = 3 , null = True , blank = True ) ) ,
( ' tip_conclusao ' , models . CharField ( max_length = 3 , blank = True , null = True ) ) ,
( ' tip_apresentacao ' , models . CharField ( max_length = 1 ) ) ,
( ' tip_apresentacao ' , models . CharField ( max_length = 1 ) ) ,
( ' txt_parecer ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_parecer ' , models . TextField ( blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -696,30 +696,30 @@ class Migration(migrations.Migration):
name = ' Parlamentar ' ,
name = ' Parlamentar ' ,
fields = [
fields = [
( ' cod_parlamentar ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_parlamentar ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_nivel_instrucao ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' cod_nivel_instrucao ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' tip_situacao_militar ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' tip_situacao_militar ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' nom_completo ' , models . CharField ( max_length = 50 ) ) ,
( ' nom_completo ' , models . CharField ( max_length = 50 ) ) ,
( ' nom_parlamentar ' , models . CharField ( max_length = 50 , null = True , blank = True ) ) ,
( ' nom_parlamentar ' , models . CharField ( max_length = 50 , blank = True , null = True ) ) ,
( ' sex_parlamentar ' , models . CharField ( max_length = 1 ) ) ,
( ' sex_parlamentar ' , models . CharField ( max_length = 1 ) ) ,
( ' dat_nascimento ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_nascimento ' , models . DateField ( blank = True , null = True ) ) ,
( ' num_cpf ' , models . CharField ( max_length = 14 , null = True , blank = True ) ) ,
( ' num_cpf ' , models . CharField ( max_length = 14 , blank = True , null = True ) ) ,
( ' num_rg ' , models . CharField ( max_length = 15 , null = True , blank = True ) ) ,
( ' num_rg ' , models . CharField ( max_length = 15 , blank = True , null = True ) ) ,
( ' num_tit_eleitor ' , models . CharField ( max_length = 15 , null = True , blank = True ) ) ,
( ' num_tit_eleitor ' , models . CharField ( max_length = 15 , blank = True , null = True ) ) ,
( ' cod_casa ' , models . IntegerField ( ) ) ,
( ' cod_casa ' , models . IntegerField ( ) ) ,
( ' num_gab_parlamentar ' , models . CharField ( max_length = 10 , null = True , blank = True ) ) ,
( ' num_gab_parlamentar ' , models . CharField ( max_length = 10 , blank = True , null = True ) ) ,
( ' num_tel_parlamentar ' , models . CharField ( max_length = 50 , null = True , blank = True ) ) ,
( ' num_tel_parlamentar ' , models . CharField ( max_length = 50 , blank = True , null = True ) ) ,
( ' num_fax_parlamentar ' , models . CharField ( max_length = 50 , null = True , blank = True ) ) ,
( ' num_fax_parlamentar ' , models . CharField ( max_length = 50 , blank = True , null = True ) ) ,
( ' end_residencial ' , models . CharField ( max_length = 100 , null = True , blank = True ) ) ,
( ' end_residencial ' , models . CharField ( max_length = 100 , blank = True , null = True ) ) ,
( ' cod_localidade_resid ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' cod_localidade_resid ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' num_cep_resid ' , models . CharField ( max_length = 9 , null = True , blank = True ) ) ,
( ' num_cep_resid ' , models . CharField ( max_length = 9 , blank = True , null = True ) ) ,
( ' num_tel_resid ' , models . CharField ( max_length = 50 , null = True , blank = True ) ) ,
( ' num_tel_resid ' , models . CharField ( max_length = 50 , blank = True , null = True ) ) ,
( ' num_fax_resid ' , models . CharField ( max_length = 50 , null = True , blank = True ) ) ,
( ' num_fax_resid ' , models . CharField ( max_length = 50 , blank = True , null = True ) ) ,
( ' end_web ' , models . CharField ( max_length = 100 , null = True , blank = True ) ) ,
( ' end_web ' , models . CharField ( max_length = 100 , blank = True , null = True ) ) ,
( ' nom_profissao ' , models . CharField ( max_length = 50 , null = True , blank = True ) ) ,
( ' nom_profissao ' , models . CharField ( max_length = 50 , blank = True , null = True ) ) ,
( ' end_email ' , models . CharField ( max_length = 100 , null = True , blank = True ) ) ,
( ' end_email ' , models . CharField ( max_length = 100 , blank = True , null = True ) ) ,
( ' des_local_atuacao ' , models . CharField ( max_length = 100 , null = True , blank = True ) ) ,
( ' des_local_atuacao ' , models . CharField ( max_length = 100 , blank = True , null = True ) ) ,
( ' ind_ativo ' , models . IntegerField ( ) ) ,
( ' ind_ativo ' , models . IntegerField ( ) ) ,
( ' txt_biografia ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_biografia ' , models . TextField ( blank = True , null = True ) ) ,
( ' ind_unid_deliberativa ' , models . IntegerField ( ) ) ,
( ' ind_unid_deliberativa ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
@ -734,8 +734,8 @@ class Migration(migrations.Migration):
( ' cod_partido ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_partido ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' sgl_partido ' , models . CharField ( max_length = 9 ) ) ,
( ' sgl_partido ' , models . CharField ( max_length = 9 ) ) ,
( ' nom_partido ' , models . CharField ( max_length = 50 ) ) ,
( ' nom_partido ' , models . CharField ( max_length = 50 ) ) ,
( ' dat_criacao ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_criacao ' , models . DateField ( blank = True , null = True ) ) ,
( ' dat_extincao ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_extincao ' , models . DateField ( blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -748,7 +748,7 @@ class Migration(migrations.Migration):
fields = [
fields = [
( ' cod_periodo_comp ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_periodo_comp ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' dat_inicio_periodo ' , models . DateField ( ) ) ,
( ' dat_inicio_periodo ' , models . DateField ( ) ) ,
( ' dat_fim_periodo ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_fim_periodo ' , models . DateField ( blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -760,16 +760,16 @@ class Migration(migrations.Migration):
name = ' Proposicao ' ,
name = ' Proposicao ' ,
fields = [
fields = [
( ' cod_proposicao ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_proposicao ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_materia ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' cod_materia ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' cod_autor ' , models . IntegerField ( ) ) ,
( ' cod_autor ' , models . IntegerField ( ) ) ,
( ' tip_proposicao ' , models . IntegerField ( ) ) ,
( ' tip_proposicao ' , models . IntegerField ( ) ) ,
( ' dat_envio ' , models . DateTimeField ( ) ) ,
( ' dat_envio ' , models . DateTimeField ( ) ) ,
( ' dat_recebimento ' , models . DateTimeField ( null = True , blank = True ) ) ,
( ' dat_recebimento ' , models . DateTimeField ( blank = True , null = True ) ) ,
( ' txt_descricao ' , models . CharField ( max_length = 100 ) ) ,
( ' txt_descricao ' , models . CharField ( max_length = 100 ) ) ,
( ' cod_mat_ou_doc ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' cod_mat_ou_doc ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' dat_devolucao ' , models . DateTimeField ( null = True , blank = True ) ) ,
( ' dat_devolucao ' , models . DateTimeField ( blank = True , null = True ) ) ,
( ' txt_justif_devolucao ' , models . CharField ( max_length = 200 , null = True , blank = True ) ) ,
( ' txt_justif_devolucao ' , models . CharField ( max_length = 200 , blank = True , null = True ) ) ,
( ' num_proposicao ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' num_proposicao ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -781,25 +781,25 @@ class Migration(migrations.Migration):
name = ' Protocolo ' ,
name = ' Protocolo ' ,
fields = [
fields = [
( ' cod_protocolo ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_protocolo ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' num_protocolo ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' num_protocolo ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' ano_protocolo ' , models . SmallIntegerField ( ) ) ,
( ' ano_protocolo ' , models . SmallIntegerField ( ) ) ,
( ' dat_protocolo ' , models . DateField ( ) ) ,
( ' dat_protocolo ' , models . DateField ( ) ) ,
( ' hor_protocolo ' , models . TimeField ( ) ) ,
( ' hor_protocolo ' , models . TimeField ( ) ) ,
( ' dat_timestamp ' , models . DateTimeField ( ) ) ,
( ' dat_timestamp ' , models . DateTimeField ( ) ) ,
( ' tip_protocolo ' , models . IntegerField ( ) ) ,
( ' tip_protocolo ' , models . IntegerField ( ) ) ,
( ' tip_processo ' , models . IntegerField ( ) ) ,
( ' tip_processo ' , models . IntegerField ( ) ) ,
( ' txt_interessado ' , models . CharField ( max_length = 60 , null = True , blank = True ) ) ,
( ' txt_interessado ' , models . CharField ( max_length = 60 , blank = True , null = True ) ) ,
( ' cod_autor ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' cod_autor ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' txt_assunto_ementa ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_assunto_ementa ' , models . TextField ( blank = True , null = True ) ) ,
( ' tip_documento ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' tip_documento ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' tip_materia ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' tip_materia ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' num_paginas ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' num_paginas ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' txt_observacao ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_observacao ' , models . TextField ( blank = True , null = True ) ) ,
( ' ind_anulado ' , models . IntegerField ( ) ) ,
( ' ind_anulado ' , models . IntegerField ( ) ) ,
( ' txt_user_anulacao ' , models . CharField ( max_length = 20 , null = True , blank = True ) ) ,
( ' txt_user_anulacao ' , models . CharField ( max_length = 20 , blank = True , null = True ) ) ,
( ' txt_ip_anulacao ' , models . CharField ( max_length = 15 , null = True , blank = True ) ) ,
( ' txt_ip_anulacao ' , models . CharField ( max_length = 15 , blank = True , null = True ) ) ,
( ' txt_just_anulacao ' , models . CharField ( max_length = 60 , null = True , blank = True ) ) ,
( ' txt_just_anulacao ' , models . CharField ( max_length = 60 , blank = True , null = True ) ) ,
( ' timestamp_anulacao ' , models . DateTimeField ( null = True , blank = True ) ) ,
( ' timestamp_anulacao ' , models . DateTimeField ( blank = True , null = True ) ) ,
] ,
] ,
options = {
options = {
' db_table ' : ' protocolo ' ,
' db_table ' : ' protocolo ' ,
@ -828,7 +828,7 @@ class Migration(migrations.Migration):
( ' num_votos_sim ' , models . IntegerField ( ) ) ,
( ' num_votos_sim ' , models . IntegerField ( ) ) ,
( ' num_votos_nao ' , models . IntegerField ( ) ) ,
( ' num_votos_nao ' , models . IntegerField ( ) ) ,
( ' num_abstencao ' , models . IntegerField ( ) ) ,
( ' num_abstencao ' , models . IntegerField ( ) ) ,
( ' txt_observacao ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_observacao ' , models . TextField ( blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -839,7 +839,7 @@ class Migration(migrations.Migration):
migrations . CreateModel (
migrations . CreateModel (
name = ' RegistroVotacaoParlamentar ' ,
name = ' RegistroVotacaoParlamentar ' ,
fields = [
fields = [
( ' id ' , models . AutoField ( verbose_name = ' ID ' , serialize = False , auto_created = True , primary_key = True ) ) ,
( ' id ' , models . AutoField ( serialize = False , primary_key = True , auto_created = True , verbose_name = ' ID ' ) ) ,
( ' cod_votacao ' , models . IntegerField ( ) ) ,
( ' cod_votacao ' , models . IntegerField ( ) ) ,
( ' cod_parlamentar ' , models . IntegerField ( ) ) ,
( ' cod_parlamentar ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
@ -856,10 +856,10 @@ class Migration(migrations.Migration):
( ' cod_relatoria ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_relatoria ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_materia ' , models . IntegerField ( ) ) ,
( ' cod_materia ' , models . IntegerField ( ) ) ,
( ' cod_parlamentar ' , models . IntegerField ( ) ) ,
( ' cod_parlamentar ' , models . IntegerField ( ) ) ,
( ' tip_fim_relatoria ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' tip_fim_relatoria ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' cod_comissao ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' cod_comissao ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' dat_desig_relator ' , models . DateField ( ) ) ,
( ' dat_desig_relator ' , models . DateField ( ) ) ,
( ' dat_destit_relator ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_destit_relator ' , models . DateField ( blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -876,8 +876,8 @@ class Migration(migrations.Migration):
( ' tip_sessao_leg ' , models . CharField ( max_length = 1 ) ) ,
( ' tip_sessao_leg ' , models . CharField ( max_length = 1 ) ) ,
( ' dat_inicio ' , models . DateField ( ) ) ,
( ' dat_inicio ' , models . DateField ( ) ) ,
( ' dat_fim ' , models . DateField ( ) ) ,
( ' dat_fim ' , models . DateField ( ) ) ,
( ' dat_inicio_intervalo ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_inicio_intervalo ' , models . DateField ( blank = True , null = True ) ) ,
( ' dat_fim_intervalo ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_fim_intervalo ' , models . DateField ( blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -889,7 +889,7 @@ class Migration(migrations.Migration):
name = ' SessaoPlenaria ' ,
name = ' SessaoPlenaria ' ,
fields = [
fields = [
( ' cod_sessao_plen ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_sessao_plen ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_andamento_sessao ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' cod_andamento_sessao ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' tip_sessao ' , models . IntegerField ( ) ) ,
( ' tip_sessao ' , models . IntegerField ( ) ) ,
( ' cod_sessao_leg ' , models . IntegerField ( ) ) ,
( ' cod_sessao_leg ' , models . IntegerField ( ) ) ,
( ' num_legislatura ' , models . IntegerField ( ) ) ,
( ' num_legislatura ' , models . IntegerField ( ) ) ,
@ -897,11 +897,11 @@ class Migration(migrations.Migration):
( ' dat_inicio_sessao ' , models . DateField ( ) ) ,
( ' dat_inicio_sessao ' , models . DateField ( ) ) ,
( ' dia_sessao ' , models . CharField ( max_length = 15 ) ) ,
( ' dia_sessao ' , models . CharField ( max_length = 15 ) ) ,
( ' hr_inicio_sessao ' , models . CharField ( max_length = 5 ) ) ,
( ' hr_inicio_sessao ' , models . CharField ( max_length = 5 ) ) ,
( ' hr_fim_sessao ' , models . CharField ( max_length = 5 , null = True , blank = True ) ) ,
( ' hr_fim_sessao ' , models . CharField ( max_length = 5 , blank = True , null = True ) ) ,
( ' num_sessao_plen ' , models . IntegerField ( ) ) ,
( ' num_sessao_plen ' , models . IntegerField ( ) ) ,
( ' dat_fim_sessao ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_fim_sessao ' , models . DateField ( blank = True , null = True ) ) ,
( ' url_audio ' , models . CharField ( max_length = 150 , null = True , blank = True ) ) ,
( ' url_audio ' , models . CharField ( max_length = 150 , blank = True , null = True ) ) ,
( ' url_video ' , models . CharField ( max_length = 150 , null = True , blank = True ) ) ,
( ' url_video ' , models . CharField ( max_length = 150 , blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -915,7 +915,7 @@ class Migration(migrations.Migration):
( ' cod_presenca_sessao ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_presenca_sessao ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_sessao_plen ' , models . IntegerField ( ) ) ,
( ' cod_sessao_plen ' , models . IntegerField ( ) ) ,
( ' cod_parlamentar ' , models . IntegerField ( ) ) ,
( ' cod_parlamentar ' , models . IntegerField ( ) ) ,
( ' dat_sessao ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_sessao ' , models . DateField ( blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -972,7 +972,7 @@ class Migration(migrations.Migration):
( ' des_afastamento ' , models . CharField ( max_length = 50 ) ) ,
( ' des_afastamento ' , models . CharField ( max_length = 50 ) ) ,
( ' ind_afastamento ' , models . IntegerField ( ) ) ,
( ' ind_afastamento ' , models . IntegerField ( ) ) ,
( ' ind_fim_mandato ' , models . IntegerField ( ) ) ,
( ' ind_fim_mandato ' , models . IntegerField ( ) ) ,
( ' des_dispositivo ' , models . CharField ( max_length = 50 , null = True , blank = True ) ) ,
( ' des_dispositivo ' , models . CharField ( max_length = 50 , blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -999,7 +999,7 @@ class Migration(migrations.Migration):
( ' nom_tipo_comissao ' , models . CharField ( max_length = 50 ) ) ,
( ' nom_tipo_comissao ' , models . CharField ( max_length = 50 ) ) ,
( ' sgl_natureza_comissao ' , models . CharField ( max_length = 1 ) ) ,
( ' sgl_natureza_comissao ' , models . CharField ( max_length = 1 ) ) ,
( ' sgl_tipo_comissao ' , models . CharField ( max_length = 10 ) ) ,
( ' sgl_tipo_comissao ' , models . CharField ( max_length = 10 ) ) ,
( ' des_dispositivo_regimental ' , models . CharField ( max_length = 50 , null = True , blank = True ) ) ,
( ' des_dispositivo_regimental ' , models . CharField ( max_length = 50 , blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -1087,7 +1087,7 @@ class Migration(migrations.Migration):
name = ' TipoNormaJuridica ' ,
name = ' TipoNormaJuridica ' ,
fields = [
fields = [
( ' tip_norma ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' tip_norma ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' voc_lexml ' , models . CharField ( max_length = 50 , null = True , blank = True ) ) ,
( ' voc_lexml ' , models . CharField ( max_length = 50 , blank = True , null = True ) ) ,
( ' sgl_tipo_norma ' , models . CharField ( max_length = 3 ) ) ,
( ' sgl_tipo_norma ' , models . CharField ( max_length = 3 ) ) ,
( ' des_tipo_norma ' , models . CharField ( max_length = 50 ) ) ,
( ' des_tipo_norma ' , models . CharField ( max_length = 50 ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
@ -1141,17 +1141,17 @@ class Migration(migrations.Migration):
name = ' Tramitacao ' ,
name = ' Tramitacao ' ,
fields = [
fields = [
( ' cod_tramitacao ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_tramitacao ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_status ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' cod_status ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' cod_materia ' , models . IntegerField ( ) ) ,
( ' cod_materia ' , models . IntegerField ( ) ) ,
( ' dat_tramitacao ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_tramitacao ' , models . DateField ( blank = True , null = True ) ) ,
( ' cod_unid_tram_local ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' cod_unid_tram_local ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' dat_encaminha ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_encaminha ' , models . DateField ( blank = True , null = True ) ) ,
( ' cod_unid_tram_dest ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' cod_unid_tram_dest ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' ind_ult_tramitacao ' , models . IntegerField ( ) ) ,
( ' ind_ult_tramitacao ' , models . IntegerField ( ) ) ,
( ' ind_urgencia ' , models . IntegerField ( ) ) ,
( ' ind_urgencia ' , models . IntegerField ( ) ) ,
( ' sgl_turno ' , models . CharField ( max_length = 1 , null = True , blank = True ) ) ,
( ' sgl_turno ' , models . CharField ( max_length = 1 , blank = True , null = True ) ) ,
( ' txt_tramitacao ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_tramitacao ' , models . TextField ( blank = True , null = True ) ) ,
( ' dat_fim_prazo ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_fim_prazo ' , models . DateField ( blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -1164,14 +1164,14 @@ class Migration(migrations.Migration):
fields = [
fields = [
( ' cod_tramitacao ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_tramitacao ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_documento ' , models . IntegerField ( ) ) ,
( ' cod_documento ' , models . IntegerField ( ) ) ,
( ' dat_tramitacao ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_tramitacao ' , models . DateField ( blank = True , null = True ) ) ,
( ' cod_unid_tram_local ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' cod_unid_tram_local ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' dat_encaminha ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_encaminha ' , models . DateField ( blank = True , null = True ) ) ,
( ' cod_unid_tram_dest ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' cod_unid_tram_dest ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' cod_status ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' cod_status ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' ind_ult_tramitacao ' , models . IntegerField ( ) ) ,
( ' ind_ult_tramitacao ' , models . IntegerField ( ) ) ,
( ' txt_tramitacao ' , models . TextField ( null = True , blank = True ) ) ,
( ' txt_tramitacao ' , models . TextField ( blank = True , null = True ) ) ,
( ' dat_fim_prazo ' , models . DateField ( null = True , blank = True ) ) ,
( ' dat_fim_prazo ' , models . DateField ( blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -1183,9 +1183,9 @@ class Migration(migrations.Migration):
name = ' UnidadeTramitacao ' ,
name = ' UnidadeTramitacao ' ,
fields = [
fields = [
( ' cod_unid_tramitacao ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_unid_tramitacao ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_comissao ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' cod_comissao ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' cod_orgao ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' cod_orgao ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' cod_parlamentar ' , models . IntegerField ( null = True , blank = True ) ) ,
( ' cod_parlamentar ' , models . IntegerField ( blank = True , null = True ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
( ' ind_excluido ' , models . IntegerField ( ) ) ,
] ,
] ,
options = {
options = {
@ -1199,7 +1199,7 @@ class Migration(migrations.Migration):
( ' cod_vinculo ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_vinculo ' , models . AutoField ( serialize = False , primary_key = True ) ) ,
( ' cod_norma_referente ' , models . IntegerField ( ) ) ,
( ' cod_norma_referente ' , models . IntegerField ( ) ) ,
( ' cod_norma_referida ' , models . IntegerField ( ) ) ,
( ' cod_norma_referida ' , models . IntegerField ( ) ) ,
( ' tip_vinculo ' , models . CharField ( max_length = 1 , null = True , blank = True ) ) ,
( ' tip_vinculo ' , models . CharField ( max_length = 1 , blank = True , null = True ) ) ,
( ' ind_excluido ' , models . CharField ( max_length = 1 ) ) ,
( ' ind_excluido ' , models . CharField ( max_length = 1 ) ) ,
] ,
] ,
options = {
options = {