Browse Source

Remove binary strings from migration files

revisaoSidenav
Sesostris Vieira 3 years ago
parent
commit
c70e262afe
  1. 28
      sigi/apps/casas/migrations/0001_initial.py
  2. 4
      sigi/apps/casas/migrations/0002_auto_20150710_1247.py
  3. 2
      sigi/apps/casas/migrations/0004_auto_20201015_0810.py
  4. 2
      sigi/apps/casas/migrations/0005_casalegislativa_gerentes_interlegis.py
  5. 8
      sigi/apps/casas/migrations/0007_auto_20201016_1632.py
  6. 8
      sigi/apps/contatos/migrations/0001_initial.py
  7. 4
      sigi/apps/contatos/migrations/0002_auto_20151104_0810.py
  8. 2
      sigi/apps/contatos/migrations/0004_auto_20210611_0946.py
  9. 12
      sigi/apps/convenios/migrations/0001_initial.py
  10. 2
      sigi/apps/convenios/migrations/0017_convenio_id_contrato_gescon.py
  11. 2
      sigi/apps/eventos/migrations/0001_initial.py
  12. 2
      sigi/apps/eventos/migrations/0009_tipoevento_categoria.py
  13. 2
      sigi/apps/eventos/migrations/0010_modulo.py
  14. 2
      sigi/apps/eventos/migrations/0013_modelodeclaracao.py
  15. 4
      sigi/apps/eventos/migrations/0015_anexo.py
  16. 4
      sigi/apps/ocorrencias/migrations/0001_initial.py
  17. 6
      sigi/apps/servicos/migrations/0001_initial.py
  18. 2
      sigi/apps/servicos/migrations/0002_tiposervico_modo.py
  19. 4
      sigi/apps/servicos/migrations/0008_auto_20210519_1117.py
  20. 22
      sigi/apps/servidores/migrations/0001_initial.py

28
sigi/apps/casas/migrations/0001_initial.py

@ -16,24 +16,24 @@ class Migration(migrations.Migration):
name='CasaLegislativa', name='CasaLegislativa',
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('nome', models.CharField(help_text=b'Exemplo: <em>C\xc3\xa2mara Municipal de Pains</em>.', max_length=60)), ('nome', models.CharField(help_text='Exemplo: <em>C\xc3\xa2mara Municipal de Pains</em>.', max_length=60)),
('search_text', sigi.apps.utils.SearchField(field_names=[b'nome'], editable=False)), ('search_text', sigi.apps.utils.SearchField(field_names=['nome'], editable=False)),
('cnpj', models.CharField(max_length=32, verbose_name=b'CNPJ', blank=True)), ('cnpj', models.CharField(max_length=32, verbose_name='CNPJ', blank=True)),
('observacoes', models.TextField(verbose_name='observa\xe7\xf5es', blank=True)), ('observacoes', models.TextField(verbose_name='observa\xe7\xf5es', blank=True)),
('codigo_interlegis', models.CharField(max_length=3, verbose_name=b'C\xc3\xb3digo Interlegis', blank=True)), ('codigo_interlegis', models.CharField(max_length=3, verbose_name='C\xc3\xb3digo Interlegis', blank=True)),
('logradouro', models.CharField(help_text=b'Avenida, rua, pra\xc3\xa7a, jardim, parque...', max_length=100)), ('logradouro', models.CharField(help_text='Avenida, rua, pra\xc3\xa7a, jardim, parque...', max_length=100)),
('bairro', models.CharField(max_length=100, blank=True)), ('bairro', models.CharField(max_length=100, blank=True)),
('cep', models.CharField(max_length=32)), ('cep', models.CharField(max_length=32)),
('email', models.EmailField(max_length=128, verbose_name=b'e-mail', blank=True)), ('email', models.EmailField(max_length=128, verbose_name='e-mail', blank=True)),
('pagina_web', models.URLField(help_text=b'Exemplo: <em>http://www.camarapains.mg.gov.br</em>.', verbose_name='p\xe1gina web', blank=True)), ('pagina_web', models.URLField(help_text=b'Exemplo: <em>http://www.camarapains.mg.gov.br</em>.', verbose_name='p\xe1gina web', blank=True)),
('ult_alt_endereco', models.DateTimeField(null=True, verbose_name='\xdaltima altera\xe7\xe3o do endere\xe7o', blank=True)), ('ult_alt_endereco', models.DateTimeField(null=True, verbose_name='\xdaltima altera\xe7\xe3o do endere\xe7o', blank=True)),
('foto', models.ImageField(height_field=b'foto_altura', width_field=b'foto_largura', upload_to=b'imagens/casas', blank=True)), ('foto', models.ImageField(height_field='foto_altura', width_field='foto_largura', upload_to='imagens/casas', blank=True)),
('recorte', models.CharField('foto', max_length=255)), ('recorte', models.CharField('foto', max_length=255)),
('foto_largura', models.SmallIntegerField(null=True, editable=False)), ('foto_largura', models.SmallIntegerField(null=True, editable=False)),
('foto_altura', models.SmallIntegerField(null=True, editable=False)), ('foto_altura', models.SmallIntegerField(null=True, editable=False)),
('data_instalacao', models.DateField(null=True, verbose_name='Data de instala\xe7\xe3o da Casa Legislativa', blank=True)), ('data_instalacao', models.DateField(null=True, verbose_name='Data de instala\xe7\xe3o da Casa Legislativa', blank=True)),
('gerente_contas', models.ForeignKey(verbose_name=b'Gerente de contas', blank=True, to='servidores.Servidor', null=True, on_delete=models.CASCADE)), ('gerente_contas', models.ForeignKey(verbose_name='Gerente de contas', blank=True, to='servidores.Servidor', null=True, on_delete=models.CASCADE)),
('municipio', models.ForeignKey(verbose_name=b'munic\xc3\xadpio', to='contatos.Municipio', on_delete=models.CASCADE)), ('municipio', models.ForeignKey(verbose_name='munic\xc3\xadpio', to='contatos.Municipio', on_delete=models.CASCADE)),
], ],
options={ options={
'ordering': ('nome',), 'ordering': ('nome',),
@ -46,13 +46,13 @@ class Migration(migrations.Migration):
name='Funcionario', name='Funcionario',
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('nome', models.CharField(max_length=60, verbose_name=b'nome completo')), ('nome', models.CharField(max_length=60, verbose_name='nome completo')),
('sexo', models.CharField(default=b'M', max_length=1, choices=[(b'M', b'Masculino'), (b'F', b'Feminino')])), ('sexo', models.CharField(default='M', max_length=1, choices=[('M', 'Masculino'), ('F', 'Feminino')])),
('nota', models.CharField(max_length=70, null=True, blank=True)), ('nota', models.CharField(max_length=70, null=True, blank=True)),
('email', models.CharField(max_length=75, verbose_name=b'e-mail', blank=True)), ('email', models.CharField(max_length=75, verbose_name='e-mail', blank=True)),
('cargo', models.CharField(max_length=100, null=True, blank=True)), ('cargo', models.CharField(max_length=100, null=True, blank=True)),
('funcao', models.CharField(max_length=100, null=True, verbose_name='fun\xe7\xe3o', blank=True)), ('funcao', models.CharField(max_length=100, null=True, verbose_name='fun\xe7\xe3o', blank=True)),
('setor', models.CharField(default=b'outros', max_length=100, choices=[(b'presidente', b'Presidente'), (b'contato_interlegis', b'Contato Interlegis'), (b'infraestrutura_fisica', b'Infraestrutura F\xc3\xadsica'), (b'estrutura_de_ti', b'Estrutura de TI'), (b'organizacao_do_processo_legislativo', b'Organiza\xc3\xa7\xc3\xa3o do Processo Legislativo'), (b'producao_legislativa', b'Produ\xc3\xa7\xc3\xa3o Legislativa'), (b'estrutura_de_comunicacao_social', b'Estrutura de Comunica\xc3\xa7\xc3\xa3o Social'), (b'estrutura_de_recursos_humanos', b'Estrutura de Recursos Humanos'), (b'gestao', b'Gest\xc3\xa3o'), (b'outros', b'Outros')])), ('setor', models.CharField(default='outros', max_length=100, choices=[('presidente', 'Presidente'), ('contato_interlegis', 'Contato Interlegis'), ('infraestrutura_fisica', 'Infraestrutura F\xc3\xadsica'), ('estrutura_de_ti', 'Estrutura de TI'), ('organizacao_do_processo_legislativo', 'Organiza\xc3\xa7\xc3\xa3o do Processo Legislativo'), ('producao_legislativa', 'Produ\xc3\xa7\xc3\xa3o Legislativa'), ('estrutura_de_comunicacao_social', 'Estrutura de Comunica\xc3\xa7\xc3\xa3o Social'), ('estrutura_de_recursos_humanos', 'Estrutura de Recursos Humanos'), ('gestao', 'Gest\xc3\xa3o'), ('outros', 'Outros')])),
('tempo_de_servico', models.CharField(max_length=50, null=True, verbose_name='tempo de servi\xe7o', blank=True)), ('tempo_de_servico', models.CharField(max_length=50, null=True, verbose_name='tempo de servi\xe7o', blank=True)),
('ult_alteracao', models.DateTimeField(null=True, verbose_name='\xdaltima altera\xe7\xe3o', blank=True)), ('ult_alteracao', models.DateTimeField(null=True, verbose_name='\xdaltima altera\xe7\xe3o', blank=True)),
('casa_legislativa', models.ForeignKey(to='casas.CasaLegislativa', on_delete=models.CASCADE)), ('casa_legislativa', models.ForeignKey(to='casas.CasaLegislativa', on_delete=models.CASCADE)),
@ -78,7 +78,7 @@ class Migration(migrations.Migration):
migrations.AddField( migrations.AddField(
model_name='casalegislativa', model_name='casalegislativa',
name='tipo', name='tipo',
field=models.ForeignKey(verbose_name=b'Tipo', to='casas.TipoCasaLegislativa', on_delete=models.CASCADE), field=models.ForeignKey(verbose_name='Tipo', to='casas.TipoCasaLegislativa', on_delete=models.CASCADE),
preserve_default=True, preserve_default=True,
), ),
migrations.AlterUniqueTogether( migrations.AlterUniqueTogether(

4
sigi/apps/casas/migrations/0002_auto_20150710_1247.py

@ -20,7 +20,7 @@ class Migration(migrations.Migration):
migrations.AddField( migrations.AddField(
model_name='casalegislativa', model_name='casalegislativa',
name='inclusao_digital', name='inclusao_digital',
field=models.CharField(default=b'NAO PESQUISADO', max_length=30, choices=[(b'NAO PESQUISADO', 'N\xe3o pesquisado'), (b'NAO POSSUI PORTAL', 'N\xe3o possui portal'), (b'PORTAL MODELO', 'Possui Portal Modelo'), (b'OUTRO PORTAL', 'Possui outro portal')]), field=models.CharField(default='NAO PESQUISADO', max_length=30, choices=[('NAO PESQUISADO', 'N\xe3o pesquisado'), ('NAO POSSUI PORTAL', 'N\xe3o possui portal'), ('PORTAL MODELO', 'Possui Portal Modelo'), ('OUTRO PORTAL', 'Possui outro portal')]),
preserve_default=True, preserve_default=True,
), ),
migrations.AddField( migrations.AddField(
@ -38,7 +38,7 @@ class Migration(migrations.Migration):
migrations.AlterField( migrations.AlterField(
model_name='casalegislativa', model_name='casalegislativa',
name='gerente_contas', name='gerente_contas',
field=models.ForeignKey(related_name='casas_que_gerencia', verbose_name=b'Gerente de contas', blank=True, to='servidores.Servidor', null=True, on_delete=models.CASCADE), field=models.ForeignKey(related_name='casas_que_gerencia', verbose_name='Gerente de contas', blank=True, to='servidores.Servidor', null=True, on_delete=models.CASCADE),
preserve_default=True, preserve_default=True,
), ),
migrations.AlterField( migrations.AlterField(

2
sigi/apps/casas/migrations/0004_auto_20201015_0810.py

@ -13,7 +13,7 @@ class Migration(migrations.Migration):
migrations.AlterField( migrations.AlterField(
model_name='casalegislativa', model_name='casalegislativa',
name='gerente_contas', name='gerente_contas',
field=models.ForeignKey(related_name='casas_que_gerencia_old', verbose_name=b'Gerente de contas', blank=True, to='servidores.Servidor', null=True, on_delete=models.CASCADE), field=models.ForeignKey(related_name='casas_que_gerencia_old', verbose_name='Gerente de contas', blank=True, to='servidores.Servidor', null=True, on_delete=models.CASCADE),
preserve_default=True, preserve_default=True,
), ),
] ]

2
sigi/apps/casas/migrations/0005_casalegislativa_gerentes_interlegis.py

@ -14,7 +14,7 @@ class Migration(migrations.Migration):
migrations.AddField( migrations.AddField(
model_name='casalegislativa', model_name='casalegislativa',
name='gerentes_interlegis', name='gerentes_interlegis',
field=models.ManyToManyField(related_name='casas_que_gerencia', verbose_name=b'Gerentes Interlegis', to='servidores.Servidor'), field=models.ManyToManyField(related_name='casas_que_gerencia', verbose_name='Gerentes Interlegis', to='servidores.Servidor'),
preserve_default=True, preserve_default=True,
), ),
] ]

8
sigi/apps/casas/migrations/0007_auto_20201016_1632.py

@ -49,13 +49,13 @@ class Migration(migrations.Migration):
migrations.AlterField( migrations.AlterField(
model_name='casalegislativa', model_name='casalegislativa',
name='foto', name='foto',
field=models.ImageField(upload_to=b'imagens/casas', width_field=b'foto_largura', height_field=b'foto_altura', blank=True, verbose_name='Foto'), field=models.ImageField(upload_to='imagens/casas', width_field='foto_largura', height_field='foto_altura', blank=True, verbose_name='Foto'),
preserve_default=True, preserve_default=True,
), ),
migrations.AlterField( migrations.AlterField(
model_name='casalegislativa', model_name='casalegislativa',
name='inclusao_digital', name='inclusao_digital',
field=models.CharField(default=b'NAO PESQUISADO', max_length=30, verbose_name='Inclus\xe3o digital', choices=[(b'NAO PESQUISADO', 'N\xe3o pesquisado'), (b'NAO POSSUI PORTAL', 'N\xe3o possui portal'), (b'PORTAL MODELO', 'Possui Portal Modelo'), (b'OUTRO PORTAL', 'Possui outro portal')]), field=models.CharField(default='NAO PESQUISADO', max_length=30, verbose_name='Inclus\xe3o digital', choices=[('NAO PESQUISADO', 'N\xe3o pesquisado'), ('NAO POSSUI PORTAL', 'N\xe3o possui portal'), ('PORTAL MODELO', 'Possui Portal Modelo'), ('OUTRO PORTAL', 'Possui outro portal')]),
preserve_default=True, preserve_default=True,
), ),
migrations.AlterField( migrations.AlterField(
@ -97,13 +97,13 @@ class Migration(migrations.Migration):
migrations.AlterField( migrations.AlterField(
model_name='funcionario', model_name='funcionario',
name='setor', name='setor',
field=models.CharField(default=b'outros', max_length=100, verbose_name='Setor', choices=[(b'presidente', 'Presidente'), (b'contato_interlegis', 'Contato Interlegis'), (b'infraestrutura_fisica', 'Infraestrutura F\xedsica'), (b'estrutura_de_ti', 'Estrutura de TI'), (b'organizacao_do_processo_legislativo', 'Organiza\xe7\xe3o do Processo Legislativo'), (b'producao_legislativa', 'Produ\xe7\xe3o Legislativa'), (b'estrutura_de_comunicacao_social', 'Estrutura de Comunica\xe7\xe3o Social'), (b'estrutura_de_recursos_humanos', 'Estrutura de Recursos Humanos'), (b'gestao', 'Gest\xe3o'), (b'outros', 'Outros')]), field=models.CharField(default='outros', max_length=100, verbose_name='Setor', choices=[('presidente', 'Presidente'), ('contato_interlegis', 'Contato Interlegis'), ('infraestrutura_fisica', 'Infraestrutura F\xedsica'), ('estrutura_de_ti', 'Estrutura de TI'), ('organizacao_do_processo_legislativo', 'Organiza\xe7\xe3o do Processo Legislativo'), ('producao_legislativa', 'Produ\xe7\xe3o Legislativa'), ('estrutura_de_comunicacao_social', 'Estrutura de Comunica\xe7\xe3o Social'), ('estrutura_de_recursos_humanos', 'Estrutura de Recursos Humanos'), ('gestao', 'Gest\xe3o'), ('outros', 'Outros')]),
preserve_default=True, preserve_default=True,
), ),
migrations.AlterField( migrations.AlterField(
model_name='funcionario', model_name='funcionario',
name='sexo', name='sexo',
field=models.CharField(default=b'M', max_length=1, verbose_name='Sexo', choices=[(b'M', 'Masculino'), (b'F', 'Feminino')]), field=models.CharField(default='M', max_length=1, verbose_name='Sexo', choices=[('M', 'Masculino'), ('F', 'Feminino')]),
preserve_default=True, preserve_default=True,
), ),
migrations.AlterField( migrations.AlterField(

8
sigi/apps/contatos/migrations/0001_initial.py

@ -33,7 +33,7 @@ class Migration(migrations.Migration):
name='Endereco', name='Endereco',
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('tipo', models.CharField(max_length=15, choices=[(b'aeroporto', 'Aeroporto'), (b'alameda', 'Alameda'), (b'area', '\xc1rea'), (b'avenida', 'Avenida'), (b'campo', 'Campo'), (b'chacara', 'Ch\xe1cara'), (b'colonia', 'Col\xf4nia'), (b'condominio', 'Condom\xednio'), (b'conjunto', 'Conjunto'), (b'distrito', 'Distrito'), (b'esplanada', 'Esplanada'), (b'estacao', 'Esta\xe7\xe3o'), (b'estrada', 'Estrada'), (b'favela', 'Favela'), (b'fazenda', 'Fazenda'), (b'feira', 'Feira'), (b'jardim', 'Jardim'), (b'ladeira', 'Ladeira'), (b'lago', 'Lago'), (b'lagoa', 'Lagoa'), (b'largo', 'Largo'), (b'loteamento', 'Loteamento'), (b'morro', 'Morro'), (b'nucleo', 'N\xfacleo'), (b'parque', 'Parque'), (b'passarela', 'Passarela'), (b'patio', 'P\xe1tio'), (b'praca', 'Pra\xe7a'), (b'quadra', 'Quadra'), (b'recanto', 'Recanto'), (b'residencial', 'Residencial'), (b'rodovia', 'Rodovia'), (b'rua', 'Rua'), (b'setor', 'Setor'), (b'sitio', 'S\xedtio'), (b'travessa', 'Travessa'), (b'trecho', 'Trecho'), (b'trevo', 'Trevo'), (b'vale', 'Vale'), (b'vereda', 'Vereda'), (b'via', 'Via'), (b'viaduto', 'Viaduto'), (b'viela', 'Viela'), (b'vila', 'Vila'), (b'outro', 'Outro')])), ('tipo', models.CharField(max_length=15, choices=[('aeroporto', 'Aeroporto'), ('alameda', 'Alameda'), ('area', '\xc1rea'), ('avenida', 'Avenida'), ('campo', 'Campo'), ('chacara', 'Ch\xe1cara'), ('colonia', 'Col\xf4nia'), ('condominio', 'Condom\xednio'), ('conjunto', 'Conjunto'), ('distrito', 'Distrito'), ('esplanada', 'Esplanada'), ('estacao', 'Esta\xe7\xe3o'), ('estrada', 'Estrada'), ('favela', 'Favela'), ('fazenda', 'Fazenda'), ('feira', 'Feira'), ('jardim', 'Jardim'), ('ladeira', 'Ladeira'), ('lago', 'Lago'), ('lagoa', 'Lagoa'), ('largo', 'Largo'), ('loteamento', 'Loteamento'), ('morro', 'Morro'), ('nucleo', 'N\xfacleo'), ('parque', 'Parque'), ('passarela', 'Passarela'), ('patio', 'P\xe1tio'), ('praca', 'Pra\xe7a'), ('quadra', 'Quadra'), ('recanto', 'Recanto'), ('residencial', 'Residencial'), ('rodovia', 'Rodovia'), ('rua', 'Rua'), ('setor', 'Setor'), ('sitio', 'S\xedtio'), ('travessa', 'Travessa'), ('trecho', 'Trecho'), ('trevo', 'Trevo'), ('vale', 'Vale'), ('vereda', 'Vereda'), ('via', 'Via'), ('viaduto', 'Viaduto'), ('viela', 'Viela'), ('vila', 'Vila'), ('outro', 'Outro')])),
('logradouro', models.CharField(max_length=100)), ('logradouro', models.CharField(max_length=100)),
('numero', models.CharField(max_length=15, blank=True)), ('numero', models.CharField(max_length=15, blank=True)),
('complemento', models.CharField(max_length=15, blank=True)), ('complemento', models.CharField(max_length=15, blank=True)),
@ -82,7 +82,7 @@ class Migration(migrations.Migration):
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('numero', models.CharField(help_text='Exemplo: <em>(31)8851-9898</em>.', max_length=64, verbose_name='n\xfamero')), ('numero', models.CharField(help_text='Exemplo: <em>(31)8851-9898</em>.', max_length=64, verbose_name='n\xfamero')),
('tipo', models.CharField(default=b'I', max_length=1, choices=[(b'F', 'Fixo'), (b'M', 'M\xf3vel'), (b'X', 'Fax'), (b'I', 'Indefinido')])), ('tipo', models.CharField(default='I', max_length=1, choices=[('F', 'Fixo'), ('M', 'M\xf3vel'), ('X', 'Fax'), ('I', 'Indefinido')])),
('nota', models.CharField(max_length=70, null=True, blank=True)), ('nota', models.CharField(max_length=70, null=True, blank=True)),
('ult_alteracao', models.DateTimeField(auto_now=True, verbose_name='\xdaltima altera\xe7\xe3o', null=True)), ('ult_alteracao', models.DateTimeField(auto_now=True, verbose_name='\xdaltima altera\xe7\xe3o', null=True)),
('object_id', models.PositiveIntegerField()), ('object_id', models.PositiveIntegerField()),
@ -98,9 +98,9 @@ class Migration(migrations.Migration):
fields=[ fields=[
('codigo_ibge', models.PositiveIntegerField(help_text='C\xf3digo do estado segundo IBGE.', unique=True, serialize=False, verbose_name='c\xf3digo IBGE', primary_key=True)), ('codigo_ibge', models.PositiveIntegerField(help_text='C\xf3digo do estado segundo IBGE.', unique=True, serialize=False, verbose_name='c\xf3digo IBGE', primary_key=True)),
('nome', models.CharField(max_length=25, verbose_name='Nome UF')), ('nome', models.CharField(max_length=25, verbose_name='Nome UF')),
('search_text', sigi.apps.utils.SearchField(field_names=[b'nome'], editable=False)), ('search_text', sigi.apps.utils.SearchField(field_names=['nome'], editable=False)),
('sigla', models.CharField(help_text='Exemplo: <em>MG</em>.', unique=True, max_length=2)), ('sigla', models.CharField(help_text='Exemplo: <em>MG</em>.', unique=True, max_length=2)),
('regiao', models.CharField(max_length=2, verbose_name='regi\xe3o', choices=[(b'SL', 'Sul'), (b'SD', 'Sudeste'), (b'CO', 'Centro-Oeste'), (b'NE', 'Nordeste'), (b'NO', 'Norte')])), ('regiao', models.CharField(max_length=2, verbose_name='regi\xe3o', choices=[('SL', 'Sul'), ('SD', 'Sudeste'), ('CO', 'Centro-Oeste'), ('NE', 'Nordeste'), ('NO', 'Norte')])),
('populacao', models.PositiveIntegerField(verbose_name='popula\xe7\xe3o')), ('populacao', models.PositiveIntegerField(verbose_name='popula\xe7\xe3o')),
], ],
options={ options={

4
sigi/apps/contatos/migrations/0002_auto_20151104_0810.py

@ -17,7 +17,7 @@ class Migration(migrations.Migration):
fields=[ fields=[
('codigo_ibge', models.PositiveIntegerField(help_text='C\xf3digo da mesorregi\xe3o segundo o IBGE', unique=True, serialize=False, verbose_name='C\xf3digo IBGE', primary_key=True)), ('codigo_ibge', models.PositiveIntegerField(help_text='C\xf3digo da mesorregi\xe3o segundo o IBGE', unique=True, serialize=False, verbose_name='C\xf3digo IBGE', primary_key=True)),
('nome', models.CharField(max_length=100, verbose_name='Nome mesorregi\xe3o')), ('nome', models.CharField(max_length=100, verbose_name='Nome mesorregi\xe3o')),
('search_text', sigi.apps.utils.SearchField(field_names=[b'nome'], editable=False)), ('search_text', sigi.apps.utils.SearchField(field_names=['nome'], editable=False)),
('uf', models.ForeignKey(verbose_name='UF', to='contatos.UnidadeFederativa', on_delete=models.CASCADE)), ('uf', models.ForeignKey(verbose_name='UF', to='contatos.UnidadeFederativa', on_delete=models.CASCADE)),
], ],
options={ options={
@ -32,7 +32,7 @@ class Migration(migrations.Migration):
fields=[ fields=[
('codigo_ibge', models.PositiveIntegerField(help_text='C\xf3digo da microrregi\xe3o segundo o IBGE', unique=True, serialize=False, verbose_name='C\xf3digo IBGE', primary_key=True)), ('codigo_ibge', models.PositiveIntegerField(help_text='C\xf3digo da microrregi\xe3o segundo o IBGE', unique=True, serialize=False, verbose_name='C\xf3digo IBGE', primary_key=True)),
('nome', models.CharField(max_length=100, verbose_name='Nome microrregi\xe3o')), ('nome', models.CharField(max_length=100, verbose_name='Nome microrregi\xe3o')),
('search_text', sigi.apps.utils.SearchField(field_names=[b'nome'], editable=False)), ('search_text', sigi.apps.utils.SearchField(field_names=['nome'], editable=False)),
('mesorregiao', models.ForeignKey(to='contatos.Mesorregiao', on_delete=models.CASCADE)), ('mesorregiao', models.ForeignKey(to='contatos.Mesorregiao', on_delete=models.CASCADE)),
], ],
options={ options={

2
sigi/apps/contatos/migrations/0004_auto_20210611_0946.py

@ -18,7 +18,7 @@ class Migration(migrations.Migration):
migrations.AlterField( migrations.AlterField(
model_name='unidadefederativa', model_name='unidadefederativa',
name='regiao', name='regiao',
field=models.CharField(max_length=2, verbose_name='regi\xe3o', choices=[(b'CO', 'Centro-Oeste'), (b'NE', 'Nordeste'), (b'NO', 'Norte'), (b'SD', 'Sudeste'), (b'SL', 'Sul')]), field=models.CharField(max_length=2, verbose_name='regi\xe3o', choices=[('CO', 'Centro-Oeste'), ('NE', 'Nordeste'), ('NO', 'Norte'), ('SD', 'Sudeste'), ('SL', 'Sul')]),
preserve_default=True, preserve_default=True,
), ),
] ]

12
sigi/apps/convenios/migrations/0001_initial.py

@ -17,8 +17,8 @@ class Migration(migrations.Migration):
name='Anexo', name='Anexo',
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('arquivo', models.FileField(max_length=500, upload_to=b'apps/convenios/anexo/arquivo')), ('arquivo', models.FileField(max_length=500, upload_to='apps/convenios/anexo/arquivo')),
('descricao', models.CharField(max_length=b'70', verbose_name='descri\xe7\xe3o')), ('descricao', models.CharField(max_length='70', verbose_name='descri\xe7\xe3o')),
('data_pub', models.DateTimeField(default=datetime.datetime.now, verbose_name='data da publica\xe7\xe3o do anexo')), ('data_pub', models.DateTimeField(default=datetime.datetime.now, verbose_name='data da publica\xe7\xe3o do anexo')),
], ],
options={ options={
@ -30,7 +30,7 @@ class Migration(migrations.Migration):
name='Convenio', name='Convenio',
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('search_text', sigi.apps.utils.SearchField(field_names=[b'casa_legislativa'], editable=False)), ('search_text', sigi.apps.utils.SearchField(field_names=['casa_legislativa'], editable=False)),
('num_processo_sf', models.CharField(help_text='Formatos:<br/>Antigo: <em>XXXXXX/XX-X</em>.<br/><em>SIGAD: XXXXX.XXXXXX/XXXX-XX</em>', max_length=20, verbose_name='n\xfamero do processo SF (Senado Federal)', blank=True)), ('num_processo_sf', models.CharField(help_text='Formatos:<br/>Antigo: <em>XXXXXX/XX-X</em>.<br/><em>SIGAD: XXXXX.XXXXXX/XXXX-XX</em>', max_length=20, verbose_name='n\xfamero do processo SF (Senado Federal)', blank=True)),
('num_convenio', models.CharField(max_length=10, verbose_name='n\xfamero do conv\xeanio', blank=True)), ('num_convenio', models.CharField(max_length=10, verbose_name='n\xfamero do conv\xeanio', blank=True)),
('data_adesao', models.DateField(null=True, verbose_name='Aderidas', blank=True)), ('data_adesao', models.DateField(null=True, verbose_name='Aderidas', blank=True)),
@ -83,7 +83,7 @@ class Migration(migrations.Migration):
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('data', models.DateField()), ('data', models.DateField()),
('observacao', models.CharField(max_length=b'512', null=True, verbose_name='observa\xe7\xe3o', blank=True)), ('observacao', models.CharField(max_length='512', null=True, verbose_name='observa\xe7\xe3o', blank=True)),
('convenio', models.ForeignKey(verbose_name='conv\xeanio', to='convenios.Convenio', on_delete=models.CASCADE)), ('convenio', models.ForeignKey(verbose_name='conv\xeanio', to='convenios.Convenio', on_delete=models.CASCADE)),
], ],
options={ options={
@ -95,8 +95,8 @@ class Migration(migrations.Migration):
name='UnidadeAdministrativa', name='UnidadeAdministrativa',
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('sigla', models.CharField(max_length=b'10')), ('sigla', models.CharField(max_length='10')),
('nome', models.CharField(max_length=b'100')), ('nome', models.CharField(max_length='100')),
], ],
options={ options={
}, },

2
sigi/apps/convenios/migrations/0017_convenio_id_contrato_gescon.py

@ -13,7 +13,7 @@ class Migration(migrations.Migration):
migrations.AddField( migrations.AddField(
model_name='convenio', model_name='convenio',
name='id_contrato_gescon', name='id_contrato_gescon',
field=models.CharField(default=b'', verbose_name='ID do contrato no Gescon', max_length=20, editable=False, blank=True), field=models.CharField(default='', verbose_name='ID do contrato no Gescon', max_length=20, editable=False, blank=True),
preserve_default=True, preserve_default=True,
), ),
] ]

2
sigi/apps/eventos/migrations/0001_initial.py

@ -53,7 +53,7 @@ class Migration(migrations.Migration):
('data_termino', models.DateField(verbose_name='Data de t\xe9rmino')), ('data_termino', models.DateField(verbose_name='Data de t\xe9rmino')),
('local', models.TextField(verbose_name='Local do evento', blank=True)), ('local', models.TextField(verbose_name='Local do evento', blank=True)),
('publico_alvo', models.TextField(verbose_name='P\xfablico alvo', blank=True)), ('publico_alvo', models.TextField(verbose_name='P\xfablico alvo', blank=True)),
('status', models.CharField(max_length=1, verbose_name='Status', choices=[(b'P', 'Previs\xe3o'), (b'A', 'A confirmar'), (b'O', 'Confirmado'), (b'R', 'Realizado'), (b'C', 'Cancelado')])), ('status', models.CharField(max_length=1, verbose_name='Status', choices=[('P', 'Previs\xe3o'), ('A', 'A confirmar'), ('O', 'Confirmado'), ('R', 'Realizado'), ('C', 'Cancelado')])),
('data_cancelamento', models.DateField(null=True, verbose_name='Data de cancelamento', blank=True)), ('data_cancelamento', models.DateField(null=True, verbose_name='Data de cancelamento', blank=True)),
('motivo_cancelamento', models.TextField(verbose_name='Motivo do cancelamento', blank=True)), ('motivo_cancelamento', models.TextField(verbose_name='Motivo do cancelamento', blank=True)),
('casa_anfitria', models.ForeignKey(verbose_name='Casa anfitri\xe3', blank=True, to='casas.CasaLegislativa', null=True, on_delete=models.CASCADE)), ('casa_anfitria', models.ForeignKey(verbose_name='Casa anfitri\xe3', blank=True, to='casas.CasaLegislativa', null=True, on_delete=models.CASCADE)),

2
sigi/apps/eventos/migrations/0009_tipoevento_categoria.py

@ -14,7 +14,7 @@ class Migration(migrations.Migration):
migrations.AddField( migrations.AddField(
model_name='tipoevento', model_name='tipoevento',
name='categoria', name='categoria',
field=models.CharField(default='E', max_length=1, verbose_name='Categoaria', choices=[(b'C', 'Curso'), (b'E', 'Encontro'), (b'O', 'Oficina'), (b'S', 'Semin\xe1rio'), (b'V', 'Visita')]), field=models.CharField(default='E', max_length=1, verbose_name='Categoaria', choices=[('C', 'Curso'), ('E', 'Encontro'), ('O', 'Oficina'), ('S', 'Semin\xe1rio'), ('V', 'Visita')]),
preserve_default=False, preserve_default=False,
), ),
] ]

2
sigi/apps/eventos/migrations/0010_modulo.py

@ -19,7 +19,7 @@ class Migration(migrations.Migration):
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('nome', models.CharField(max_length=100, verbose_name='Nome')), ('nome', models.CharField(max_length=100, verbose_name='Nome')),
('descricao', models.TextField(verbose_name='Descri\xe7\xe3o do m\xf3dulo')), ('descricao', models.TextField(verbose_name='Descri\xe7\xe3o do m\xf3dulo')),
('tipo', models.CharField(max_length=1, verbose_name='Tipo', choices=[(b'A', 'Aula'), (b'P', 'Palestra'), (b'R', 'Apresenta\xe7\xe3o')])), ('tipo', models.CharField(max_length=1, verbose_name='Tipo', choices=[('A', 'Aula'), ('P', 'Palestra'), ('R', 'Apresenta\xe7\xe3o')])),
('inicio', models.DateTimeField(null=True, verbose_name='Data/hora de in\xedcio', blank=True)), ('inicio', models.DateTimeField(null=True, verbose_name='Data/hora de in\xedcio', blank=True)),
('termino', models.DateTimeField(null=True, verbose_name='Data/hora de t\xe9rmino', blank=True)), ('termino', models.DateTimeField(null=True, verbose_name='Data/hora de t\xe9rmino', blank=True)),
('carga_horaria', models.PositiveIntegerField(default=0, verbose_name='carga hor\xe1ria')), ('carga_horaria', models.PositiveIntegerField(default=0, verbose_name='carga hor\xe1ria')),

2
sigi/apps/eventos/migrations/0013_modelodeclaracao.py

@ -17,7 +17,7 @@ class Migration(migrations.Migration):
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('nome', models.CharField(max_length=100, verbose_name='Nome do modelo')), ('nome', models.CharField(max_length=100, verbose_name='Nome do modelo')),
('formato', models.CharField(default=b'A4 portrait', max_length=30, verbose_name='Formato da p\xe1gina', choices=[(b'A4 portrait', 'A4 retrato'), (b'A4 landscape', 'A4 paisagem'), (b'letter portrait', 'Carta retrato'), (b'letter landscape', 'Carta paisagem')])), ('formato', models.CharField(default='A4 portrait', max_length=30, verbose_name='Formato da p\xe1gina', choices=[('A4 portrait', 'A4 retrato'), ('A4 landscape', 'A4 paisagem'), ('letter portrait', 'Carta retrato'), ('letter landscape', 'Carta paisagem')])),
('margem', models.PositiveIntegerField(default=4, help_text='Margem da p\xe1gina em cent\xedmetros', verbose_name='Margem')), ('margem', models.PositiveIntegerField(default=4, help_text='Margem da p\xe1gina em cent\xedmetros', verbose_name='Margem')),
('texto', tinymce.models.HTMLField(help_text='Use as seguintes marca\xe7\xf5es:<ul><li>{{ casa }} para o nome da Casa Legislativa / \xf3rg\xe3o</li><li>{{ nome }} para o nome do visitante</li><li>{{ data }} para a data de emiss\xe3o da declara\xe7\xe3o</li><li>{{ evento.data_inicio }} para a data/hora do in\xedcio da visita</li><li>{{ evento.data_termino }} para a data/hora do t\xe9rmino da visita</li><li>{{ evento.nome }} para o nome do evento</li><li>{{ evento.descricao }} para a descri\xe7\xe3o do evento</li></ul>', verbose_name='Texto da declara\xe7\xe3o')), ('texto', tinymce.models.HTMLField(help_text='Use as seguintes marca\xe7\xf5es:<ul><li>{{ casa }} para o nome da Casa Legislativa / \xf3rg\xe3o</li><li>{{ nome }} para o nome do visitante</li><li>{{ data }} para a data de emiss\xe3o da declara\xe7\xe3o</li><li>{{ evento.data_inicio }} para a data/hora do in\xedcio da visita</li><li>{{ evento.data_termino }} para a data/hora do t\xe9rmino da visita</li><li>{{ evento.nome }} para o nome do evento</li><li>{{ evento.descricao }} para a descri\xe7\xe3o do evento</li></ul>', verbose_name='Texto da declara\xe7\xe3o')),
], ],

4
sigi/apps/eventos/migrations/0015_anexo.py

@ -16,8 +16,8 @@ class Migration(migrations.Migration):
name='Anexo', name='Anexo',
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('arquivo', models.FileField(max_length=500, upload_to=b'apps/eventos/anexo/arquivo')), ('arquivo', models.FileField(max_length=500, upload_to='apps/eventos/anexo/arquivo')),
('descricao', models.CharField(max_length=b'70', verbose_name='descri\xe7\xe3o')), ('descricao', models.CharField(max_length='70', verbose_name='descri\xe7\xe3o')),
('data_pub', models.DateTimeField(default=datetime.datetime.now, verbose_name='data da publica\xe7\xe3o do anexo')), ('data_pub', models.DateTimeField(default=datetime.datetime.now, verbose_name='data da publica\xe7\xe3o do anexo')),
('evento', models.ForeignKey(verbose_name='evento', to='eventos.Evento', on_delete=models.CASCADE)), ('evento', models.ForeignKey(verbose_name='evento', to='eventos.Evento', on_delete=models.CASCADE)),
], ],

4
sigi/apps/ocorrencias/migrations/0001_initial.py

@ -16,8 +16,8 @@ class Migration(migrations.Migration):
name='Anexo', name='Anexo',
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('arquivo', models.FileField(upload_to=b'apps/ocorrencia/anexo/arquivo', max_length=500, verbose_name='Arquivo anexado')), ('arquivo', models.FileField(upload_to='apps/ocorrencia/anexo/arquivo', max_length=500, verbose_name='Arquivo anexado')),
('descricao', models.CharField(max_length=b'70', verbose_name='descri\xe7\xe3o do anexo')), ('descricao', models.CharField(max_length='70', verbose_name='descri\xe7\xe3o do anexo')),
('data_pub', models.DateTimeField(auto_now_add=True, verbose_name='data da publica\xe7\xe3o do anexo', null=True)), ('data_pub', models.DateTimeField(auto_now_add=True, verbose_name='data da publica\xe7\xe3o do anexo', null=True)),
], ],
options={ options={

6
sigi/apps/servicos/migrations/0001_initial.py

@ -71,8 +71,8 @@ class Migration(migrations.Migration):
('data_ultimo_uso', models.DateField(help_text='Data em que o servi\xe7o foi utilizado pela Casa Legislativa pela \xfaltima vez<br/><strong>N\xc3O \xc9 ATUALIZADO AUTOMATICAMENTE!</strong>', null=True, verbose_name='Data da \xfaltima utiliza\xe7\xe3o', blank=True)), ('data_ultimo_uso', models.DateField(help_text='Data em que o servi\xe7o foi utilizado pela Casa Legislativa pela \xfaltima vez<br/><strong>N\xc3O \xc9 ATUALIZADO AUTOMATICAMENTE!</strong>', null=True, verbose_name='Data da \xfaltima utiliza\xe7\xe3o', blank=True)),
('erro_atualizacao', models.CharField(help_text='Erro ocorrido na \xfaltima tentativa de atualizar a data de \xfaltimo acesso', max_length=200, verbose_name='Erro na atualiza\xe7\xe3o', blank=True)), ('erro_atualizacao', models.CharField(help_text='Erro ocorrido na \xfaltima tentativa de atualizar a data de \xfaltimo acesso', max_length=200, verbose_name='Erro na atualiza\xe7\xe3o', blank=True)),
('casa_legislativa', models.ForeignKey(verbose_name='Casa Legislativa', to='casas.CasaLegislativa', on_delete=models.CASCADE)), ('casa_legislativa', models.ForeignKey(verbose_name='Casa Legislativa', to='casas.CasaLegislativa', on_delete=models.CASCADE)),
('contato_administrativo', models.ForeignKey(related_name=b'contato_administrativo', verbose_name='Contato administrativo', to='casas.Funcionario', on_delete=models.CASCADE)), ('contato_administrativo', models.ForeignKey(related_name='contato_administrativo', verbose_name='Contato administrativo', to='casas.Funcionario', on_delete=models.CASCADE)),
('contato_tecnico', models.ForeignKey(related_name=b'contato_tecnico', verbose_name='Contato t\xe9cnico', to='casas.Funcionario', on_delete=models.CASCADE)), ('contato_tecnico', models.ForeignKey(related_name='contato_tecnico', verbose_name='Contato t\xe9cnico', to='casas.Funcionario', on_delete=models.CASCADE)),
], ],
options={ options={
}, },
@ -95,7 +95,7 @@ class Migration(migrations.Migration):
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('nome', models.CharField(max_length=60, verbose_name='Nome')), ('nome', models.CharField(max_length=60, verbose_name='Nome')),
('sigla', models.CharField(max_length=b'12', verbose_name='Sigla')), ('sigla', models.CharField(max_length='12', verbose_name='Sigla')),
('string_pesquisa', models.CharField(help_text='Sufixo para pesquisa RSS para averiguar a data da \xfaltima atualiza\xe7\xe3o do servi\xe7o', max_length=200, verbose_name='String de pesquisa', blank=True)), ('string_pesquisa', models.CharField(help_text='Sufixo para pesquisa RSS para averiguar a data da \xfaltima atualiza\xe7\xe3o do servi\xe7o', max_length=200, verbose_name='String de pesquisa', blank=True)),
('template_email_ativa', models.TextField(help_text='Use:<br/>\n {url} para incluir a URL do servi\xe7o,<br/>\n {senha} para incluir a senha inicial do servi\xe7o', verbose_name='Template de email de ativa\xe7\xe3o', blank=True)), ('template_email_ativa', models.TextField(help_text='Use:<br/>\n {url} para incluir a URL do servi\xe7o,<br/>\n {senha} para incluir a senha inicial do servi\xe7o', verbose_name='Template de email de ativa\xe7\xe3o', blank=True)),
('template_email_altera', models.TextField(help_text='Use:<br/>\n {url} para incluir a URL do servi\xe7o,<br/>\n {senha} para incluir a senha inicial do servi\xe7o', verbose_name='Template de email de altera\xe7\xe3o', blank=True)), ('template_email_altera', models.TextField(help_text='Use:<br/>\n {url} para incluir a URL do servi\xe7o,<br/>\n {senha} para incluir a senha inicial do servi\xe7o', verbose_name='Template de email de altera\xe7\xe3o', blank=True)),

2
sigi/apps/servicos/migrations/0002_tiposervico_modo.py

@ -14,7 +14,7 @@ class Migration(migrations.Migration):
migrations.AddField( migrations.AddField(
model_name='tiposervico', model_name='tiposervico',
name='modo', name='modo',
field=models.CharField(default='H', max_length=1, verbose_name='Modo de presta\xe7\xe3o do servi\xe7o', choices=[(b'H', 'Hospedagem'), (b'R', 'Registro')]), field=models.CharField(default='H', max_length=1, verbose_name='Modo de presta\xe7\xe3o do servi\xe7o', choices=[('H', 'Hospedagem'), ('R', 'Registro')]),
preserve_default=False, preserve_default=False,
), ),
] ]

4
sigi/apps/servicos/migrations/0008_auto_20210519_1117.py

@ -26,7 +26,7 @@ class Migration(migrations.Migration):
migrations.AlterField( migrations.AlterField(
model_name='tiposervico', model_name='tiposervico',
name='modo', name='modo',
field=models.CharField(max_length=1, verbose_name='modo de presta\xe7\xe3o do servi\xe7o', choices=[(b'H', 'Hospedagem'), (b'R', 'Registro')]), field=models.CharField(max_length=1, verbose_name='modo de presta\xe7\xe3o do servi\xe7o', choices=[('H', 'Hospedagem'), ('R', 'Registro')]),
preserve_default=True, preserve_default=True,
), ),
migrations.AlterField( migrations.AlterField(
@ -38,7 +38,7 @@ class Migration(migrations.Migration):
migrations.AlterField( migrations.AlterField(
model_name='tiposervico', model_name='tiposervico',
name='sigla', name='sigla',
field=models.CharField(max_length=b'12', verbose_name='sigla'), field=models.CharField(max_length='12', verbose_name='sigla'),
preserve_default=True, preserve_default=True,
), ),
migrations.AlterField( migrations.AlterField(

22
sigi/apps/servidores/migrations/0001_initial.py

@ -35,8 +35,8 @@ class Migration(migrations.Migration):
('inicio_funcao', models.DateField(null=True, verbose_name='in\xedcio da fun\xe7\xe3o')), ('inicio_funcao', models.DateField(null=True, verbose_name='in\xedcio da fun\xe7\xe3o')),
('fim_funcao', models.DateField(null=True, verbose_name='fim da fun\xe7\xe3o', blank=True)), ('fim_funcao', models.DateField(null=True, verbose_name='fim da fun\xe7\xe3o', blank=True)),
('descricao', models.TextField(null=True, verbose_name='descri\xe7\xe3o', blank=True)), ('descricao', models.TextField(null=True, verbose_name='descri\xe7\xe3o', blank=True)),
('bap_entrada', models.CharField(max_length=50, null=True, verbose_name=b'BAP de entrada', blank=True)), ('bap_entrada', models.CharField(max_length=50, null=True, verbose_name='BAP de entrada', blank=True)),
('data_bap_entrada', models.DateField(null=True, verbose_name=b'data BAP de entrada', blank=True)), ('data_bap_entrada', models.DateField(null=True, verbose_name='data BAP de entrada', blank=True)),
('bap_saida', models.CharField(max_length=50, null=True, verbose_name='BAP de sa\xedda', blank=True)), ('bap_saida', models.CharField(max_length=50, null=True, verbose_name='BAP de sa\xedda', blank=True)),
('data_bap_saida', models.DateField(null=True, verbose_name='data BAP de sa\xedda', blank=True)), ('data_bap_saida', models.DateField(null=True, verbose_name='data BAP de sa\xedda', blank=True)),
], ],
@ -80,22 +80,22 @@ class Migration(migrations.Migration):
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('nome_completo', models.CharField(max_length=128)), ('nome_completo', models.CharField(max_length=128)),
('apelido', models.CharField(max_length=50, blank=True)), ('apelido', models.CharField(max_length=50, blank=True)),
('foto', models.ImageField(height_field=b'foto_altura', width_field=b'foto_largura', upload_to=b'fotos/servidores', blank=True)), ('foto', models.ImageField(height_field='foto_altura', width_field='foto_largura', upload_to='fotos/servidores', blank=True)),
('foto_largura', models.SmallIntegerField(null=True, editable=False)), ('foto_largura', models.SmallIntegerField(null=True, editable=False)),
('foto_altura', models.SmallIntegerField(null=True, editable=False)), ('foto_altura', models.SmallIntegerField(null=True, editable=False)),
('sexo', models.CharField(blank=True, max_length=1, null=True, choices=[(b'M', 'Masculino'), (b'F', 'Feminino')])), ('sexo', models.CharField(blank=True, max_length=1, null=True, choices=[('M', 'Masculino'), ('F', 'Feminino')])),
('data_nascimento', models.DateField(null=True, verbose_name=b'data de nascimento', blank=True)), ('data_nascimento', models.DateField(null=True, verbose_name='data de nascimento', blank=True)),
('matricula', models.CharField(max_length=25, null=True, verbose_name='matr\xedcula', blank=True)), ('matricula', models.CharField(max_length=25, null=True, verbose_name='matr\xedcula', blank=True)),
('turno', models.CharField(blank=True, max_length=1, null=True, choices=[(b'M', 'Manh\xe3'), (b'T', 'Tarde'), (b'N', 'Noite')])), ('turno', models.CharField(blank=True, max_length=1, null=True, choices=[('M', 'Manh\xe3'), ('T', 'Tarde'), ('N', 'Noite')])),
('de_fora', models.BooleanField(default=False)), ('de_fora', models.BooleanField(default=False)),
('data_nomeacao', models.DateField(null=True, verbose_name='data de nomea\xe7\xe3o', blank=True)), ('data_nomeacao', models.DateField(null=True, verbose_name='data de nomea\xe7\xe3o', blank=True)),
('ato_exoneracao', models.CharField(max_length=150, null=True, verbose_name='ato de exonera\xe7\xe3o', blank=True)), ('ato_exoneracao', models.CharField(max_length=150, null=True, verbose_name='ato de exonera\xe7\xe3o', blank=True)),
('ato_numero', models.CharField(max_length=150, null=True, verbose_name='ato de exonera\xe7\xe3o', blank=True)), ('ato_numero', models.CharField(max_length=150, null=True, verbose_name='ato de exonera\xe7\xe3o', blank=True)),
('cpf', models.CharField(max_length=11, null=True, verbose_name=b'CPF', blank=True)), ('cpf', models.CharField(max_length=11, null=True, verbose_name='CPF', blank=True)),
('rg', models.CharField(max_length=25, null=True, verbose_name=b'RG', blank=True)), ('rg', models.CharField(max_length=25, null=True, verbose_name='RG', blank=True)),
('obs', models.TextField(null=True, verbose_name='observa\xe7\xe3o', blank=True)), ('obs', models.TextField(null=True, verbose_name='observa\xe7\xe3o', blank=True)),
('apontamentos', models.TextField(null=True, verbose_name='apontamentos', blank=True)), ('apontamentos', models.TextField(null=True, verbose_name='apontamentos', blank=True)),
('email_pessoal', models.EmailField(max_length=75, null=True, verbose_name=b'email pessoal', blank=True)), ('email_pessoal', models.EmailField(max_length=75, null=True, verbose_name='email pessoal', blank=True)),
('ramal', models.CharField(max_length=25, null=True, blank=True)), ('ramal', models.CharField(max_length=25, null=True, blank=True)),
('servico', models.ForeignKey(blank=True, to='servidores.Servico', null=True, on_delete=models.CASCADE)), ('servico', models.ForeignKey(blank=True, to='servidores.Servico', null=True, on_delete=models.CASCADE)),
('user', models.ForeignKey(to=settings.AUTH_USER_MODEL, unique=True, on_delete=models.CASCADE)), ('user', models.ForeignKey(to=settings.AUTH_USER_MODEL, unique=True, on_delete=models.CASCADE)),
@ -112,7 +112,7 @@ class Migration(migrations.Migration):
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('nome', models.CharField(max_length=250, null=True)), ('nome', models.CharField(max_length=250, null=True)),
('sigla', models.CharField(max_length=10, null=True)), ('sigla', models.CharField(max_length=10, null=True)),
('responsavel', models.ForeignKey(related_name=b'diretor', to='servidores.Servidor', null=True, on_delete=models.CASCADE)), ('responsavel', models.ForeignKey(related_name='diretor', to='servidores.Servidor', null=True, on_delete=models.CASCADE)),
], ],
options={ options={
'ordering': ('nome',), 'ordering': ('nome',),
@ -122,7 +122,7 @@ class Migration(migrations.Migration):
migrations.AddField( migrations.AddField(
model_name='servico', model_name='servico',
name='responsavel', name='responsavel',
field=models.ForeignKey(related_name=b'chefe', to='servidores.Servidor', null=True, on_delete=models.CASCADE), field=models.ForeignKey(related_name='chefe', to='servidores.Servidor', null=True, on_delete=models.CASCADE),
preserve_default=True, preserve_default=True,
), ),
migrations.AddField( migrations.AddField(

Loading…
Cancel
Save