-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ajusta nome alternativo e add migrates
- Loading branch information
1 parent
b7bdbb1
commit 0a3e08f
Showing
7 changed files
with
92 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 2.2.28 on 2022-09-19 20:05 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('base', '0052_auto_20220914_1125'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='appconfig', | ||
name='sapl_as_sapn', | ||
field=models.BooleanField(choices=[(True, 'Sim'), (False, 'Não')], default=False, verbose_name='Utilizar SAPL apenas como SAPL-Normas?'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Generated by Django 2.2.28 on 2022-09-19 20:05 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('norma', '0042_norma_viewnormasestatisticas'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='ViewNormasEstatisticas', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('mais_acessadas', models.PositiveSmallIntegerField(verbose_name='Mais Acessadas')), | ||
('ano_est', models.PositiveSmallIntegerField(verbose_name='Ano do Registro de Acesso')), | ||
('mes_est', models.PositiveSmallIntegerField(verbose_name='Mês do Registro de Acesso')), | ||
('norma_id', models.BigIntegerField(verbose_name='Id da Norma')), | ||
('norma_count', models.PositiveSmallIntegerField(verbose_name='Mês do Registro de Acesso')), | ||
('norma_numero', models.CharField(max_length=8, verbose_name='Número da Norma')), | ||
('norma_ano', models.PositiveSmallIntegerField(verbose_name='Ano da Norma')), | ||
('norma_ementa', models.TextField(verbose_name='Ementa')), | ||
('norma_observacao', models.TextField(blank=True, verbose_name='Observação')), | ||
('norma_tipo_sigla', models.CharField(max_length=3, verbose_name='Sigla do Tipo da Norma')), | ||
('norma_tipo_descricao', models.CharField(max_length=50, verbose_name='Descrição do Tipo da Norma')), | ||
('norma_data', models.DateField(verbose_name='Data da Norma')), | ||
], | ||
options={ | ||
'db_table': 'norma_viewnormasestatisticas', | ||
'managed': False, | ||
}, | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Generated by Django 2.2.28 on 2022-09-19 20:05 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('protocoloadm', '0042_auto_20220805_1236'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name='documentoadministrativo', | ||
options={'ordering': ('ano', 'numero', 'id'), 'verbose_name': 'Documento Administrativo', 'verbose_name_plural': 'Documentos Administrativos'}, | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Generated by Django 2.2.28 on 2022-09-19 20:05 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('sessao', '0068_auto_20220816_1237'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='correspondencia', | ||
name='sessao_plenaria', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='correspondencia_set', to='sessao.SessaoPlenaria', verbose_name='Sessão Plenária'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters