mirror of https://github.com/interlegis/sigi.git
Sesostris Vieira
4 years ago
22 changed files with 749 additions and 85 deletions
@ -0,0 +1,45 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import models, migrations |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('casas', '0016_auto_20210407_1559'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='funcionario', |
|||
name='casa_legislativa', |
|||
field=models.ForeignKey(verbose_name='\xf3rg\xe3o', to='casas.Orgao'), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='funcionario', |
|||
name='municipio', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.SET_NULL, verbose_name='Municipio', blank=True, to='contatos.Municipio', null=True), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='orgao', |
|||
name='municipio', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='Munic\xedpio', to='contatos.Municipio'), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='orgao', |
|||
name='pesquisador', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.SET_NULL, verbose_name='Pesquisador', blank=True, to='servidores.Servidor', null=True), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='orgao', |
|||
name='tipo', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='Tipo', to='casas.TipoOrgao'), |
|||
preserve_default=True, |
|||
), |
|||
] |
@ -0,0 +1,39 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import models, migrations |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('contatos', '0002_auto_20151104_0810'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='contato', |
|||
name='municipio', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.SET_NULL, verbose_name='munic\xedpio', blank=True, to='contatos.Municipio', null=True), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='endereco', |
|||
name='municipio', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.SET_NULL, verbose_name='munic\xedpio', blank=True, to='contatos.Municipio', null=True), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='municipio', |
|||
name='microrregiao', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='Microrregi\xe3o', blank=True, to='contatos.Microrregiao', null=True), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='municipio', |
|||
name='uf', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='UF', to='contatos.UnidadeFederativa'), |
|||
preserve_default=True, |
|||
), |
|||
] |
@ -0,0 +1,33 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import models, migrations |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('convenios', '0005_auto_20210409_0842'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='convenio', |
|||
name='casa_legislativa', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='\xf3rg\xe3o conveniado', to='casas.Orgao'), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='convenio', |
|||
name='projeto', |
|||
field=models.ForeignKey(to='convenios.Projeto', on_delete=django.db.models.deletion.PROTECT), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='tramitacao', |
|||
name='unid_admin', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='Unidade Administrativa', to='convenios.UnidadeAdministrativa'), |
|||
preserve_default=True, |
|||
), |
|||
] |
@ -0,0 +1,51 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import models, migrations |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('diagnosticos', '0004_auto_20210406_1945'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='diagnostico', |
|||
name='casa_legislativa', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='Casa Legislativa', to='casas.Orgao'), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='diagnostico', |
|||
name='responsavel', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='respons\xe1vel', to='servidores.Servidor'), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='equipe', |
|||
name='membro', |
|||
field=models.ForeignKey(to='servidores.Servidor', on_delete=django.db.models.deletion.PROTECT), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='escolha', |
|||
name='schema_to_open', |
|||
field=models.ForeignKey(related_name='abre_por', on_delete=django.db.models.deletion.SET_NULL, verbose_name='pergunta para abrir', blank=True, to='diagnosticos.Pergunta', null=True), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='resposta', |
|||
name='choice', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='escolha', blank=True, to='diagnosticos.Escolha', null=True), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='resposta', |
|||
name='schema', |
|||
field=models.ForeignKey(related_name='attrs', on_delete=django.db.models.deletion.PROTECT, verbose_name='pergunta', to='diagnosticos.Pergunta'), |
|||
preserve_default=True, |
|||
), |
|||
] |
@ -0,0 +1,57 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import models, migrations |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('eventos', '0005_auto_20210406_1945'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='convite', |
|||
name='casa', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='Casa convidada', to='casas.Orgao'), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='convite', |
|||
name='servidor', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='Servidor que convidou', to='servidores.Servidor'), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='equipe', |
|||
name='funcao', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='Fun\xe7\xe3o na equipe', to='eventos.Funcao'), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='equipe', |
|||
name='membro', |
|||
field=models.ForeignKey(related_name='equipe_evento', on_delete=django.db.models.deletion.PROTECT, to='servidores.Servidor'), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='evento', |
|||
name='casa_anfitria', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='Casa anfitri\xe3', blank=True, to='casas.Orgao', null=True), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='evento', |
|||
name='municipio', |
|||
field=models.ForeignKey(to='contatos.Municipio', on_delete=django.db.models.deletion.PROTECT), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='evento', |
|||
name='tipo_evento', |
|||
field=models.ForeignKey(to='eventos.TipoEvento', on_delete=django.db.models.deletion.PROTECT), |
|||
preserve_default=True, |
|||
), |
|||
] |
@ -0,0 +1,39 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import models, migrations |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('inventario', '0002_auto_20210406_1945'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='bem', |
|||
name='fornecedor', |
|||
field=models.ForeignKey(to='inventario.Fornecedor', on_delete=django.db.models.deletion.PROTECT), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='equipamento', |
|||
name='fabricante', |
|||
field=models.ForeignKey(to='inventario.Fabricante', on_delete=django.db.models.deletion.PROTECT), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='equipamento', |
|||
name='modelo', |
|||
field=models.ForeignKey(to='inventario.ModeloEquipamento', on_delete=django.db.models.deletion.PROTECT), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='modeloequipamento', |
|||
name='tipo', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='tipo de equipamento', to='inventario.TipoEquipamento'), |
|||
preserve_default=True, |
|||
), |
|||
] |
@ -0,0 +1,57 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import models, migrations |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('ocorrencias', '0003_auto_20210406_1945'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='categoria', |
|||
name='setor_responsavel', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='Setor respons\xe1vel', to='servidores.Servico'), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='comentario', |
|||
name='encaminhar_setor', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='Encaminhar para setor', blank=True, to='servidores.Servico', null=True), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='comentario', |
|||
name='usuario', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='Usu\xe1rio', to='servidores.Servidor'), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='ocorrencia', |
|||
name='categoria', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='Categoria', to='ocorrencias.Categoria'), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='ocorrencia', |
|||
name='servidor_registro', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='Servidor que registrou a ocorr\xeancia', to='servidores.Servidor'), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='ocorrencia', |
|||
name='setor_responsavel', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='Setor respons\xe1vel', to='servidores.Servico'), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='ocorrencia', |
|||
name='tipo_contato', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='Tipo de contato', to='ocorrencias.TipoContato'), |
|||
preserve_default=True, |
|||
), |
|||
] |
@ -0,0 +1,33 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import models, migrations |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('parlamentares', '0002_auto_20210406_1945'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='mandato', |
|||
name='cargo', |
|||
field=models.ForeignKey(to='parlamentares.Cargo', on_delete=django.db.models.deletion.PROTECT), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='membromesadiretora', |
|||
name='cargo', |
|||
field=models.ForeignKey(to='parlamentares.Cargo', on_delete=django.db.models.deletion.PROTECT), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='sessaolegislativa', |
|||
name='mesa_diretora', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='Mesa Diretora', to='parlamentares.MesaDiretora'), |
|||
preserve_default=True, |
|||
), |
|||
] |
@ -0,0 +1,27 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import models, migrations |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('servicos', '0006_casaatendida'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='servico', |
|||
name='casa_legislativa', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='Casa Legislativa', to='casas.Orgao'), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='servico', |
|||
name='tipo_servico', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, verbose_name='Tipo de servi\xe7o', to='servicos.TipoServico'), |
|||
preserve_default=True, |
|||
), |
|||
] |
@ -0,0 +1,33 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import models, migrations |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('servidores', '0001_initial'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='servico', |
|||
name='responsavel', |
|||
field=models.ForeignKey(related_name='chefe', on_delete=django.db.models.deletion.SET_NULL, to='servidores.Servidor', null=True), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='servidor', |
|||
name='servico', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.SET_NULL, blank=True, to='servidores.Servico', null=True), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='subsecretaria', |
|||
name='responsavel', |
|||
field=models.ForeignKey(related_name='diretor', on_delete=django.db.models.deletion.SET_NULL, to='servidores.Servidor', null=True), |
|||
preserve_default=True, |
|||
), |
|||
] |
Loading…
Reference in new issue