mirror of https://github.com/interlegis/sigi.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
2.5 KiB
80 lines
2.5 KiB
from __future__ import unicode_literals
|
|
|
|
from django.db import models, migrations
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("servidores", "0001_initial"),
|
|
("casas", "0001_initial"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="casalegislativa",
|
|
name="data_levantamento",
|
|
field=models.DateTimeField(
|
|
null=True, verbose_name="Data/hora da pesquisa", blank=True
|
|
),
|
|
preserve_default=True,
|
|
),
|
|
migrations.AddField(
|
|
model_name="casalegislativa",
|
|
name="inclusao_digital",
|
|
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,
|
|
),
|
|
migrations.AddField(
|
|
model_name="casalegislativa",
|
|
name="obs_pesquisa",
|
|
field=models.TextField(
|
|
verbose_name="Observa\xe7\xf5es do pesquisador", blank=True
|
|
),
|
|
preserve_default=True,
|
|
),
|
|
migrations.AddField(
|
|
model_name="casalegislativa",
|
|
name="pesquisador",
|
|
field=models.ForeignKey(
|
|
verbose_name="Pesquisador",
|
|
blank=True,
|
|
to="servidores.Servidor",
|
|
null=True,
|
|
on_delete=models.CASCADE,
|
|
),
|
|
preserve_default=True,
|
|
),
|
|
migrations.AlterField(
|
|
model_name="casalegislativa",
|
|
name="gerente_contas",
|
|
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,
|
|
),
|
|
migrations.AlterField(
|
|
model_name="funcionario",
|
|
name="ult_alteracao",
|
|
field=models.DateTimeField(
|
|
auto_now=True,
|
|
verbose_name="\xdaltima altera\xe7\xe3o",
|
|
null=True,
|
|
),
|
|
preserve_default=True,
|
|
),
|
|
]
|
|
|