mirror of https://github.com/interlegis/sapl.git
Edward
5 years ago
committed by
GitHub
12 changed files with 118 additions and 28 deletions
@ -1,16 +0,0 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.11.20 on 2019-08-02 14:17 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('sessao', '0043_auto_20190712_1053'), |
|||
('sessao', '0043_auto_20190506_1452'), |
|||
] |
|||
|
|||
operations = [ |
|||
] |
@ -0,0 +1,62 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.11.20 on 2019-08-27 15:28 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.conf import settings |
|||
from django.db import migrations, models |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('materia', '0055_auto_20190816_0943'), |
|||
migrations.swappable_dependency(settings.AUTH_USER_MODEL), |
|||
('sessao', '0045_auto_20190816_1337'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.CreateModel( |
|||
name='RegistroLeitura', |
|||
fields=[ |
|||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|||
('observacao', models.TextField(blank=True, verbose_name='Observações')), |
|||
('ip', models.CharField(blank=True, default='', max_length=30, verbose_name='IP')), |
|||
('data_hora', models.DateTimeField(auto_now_add=True, null=True, verbose_name='Data/Hora')), |
|||
], |
|||
options={ |
|||
'verbose_name': 'Leitura', |
|||
'verbose_name_plural': 'Leituras', |
|||
}, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='expedientemateria', |
|||
name='tipo_votacao', |
|||
field=models.PositiveIntegerField(choices=[(1, 'Simbólica'), (2, 'Nominal'), (3, 'Secreta'), (4, 'Leitura')], default=1, verbose_name='Tipo de votação'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='ordemdia', |
|||
name='tipo_votacao', |
|||
field=models.PositiveIntegerField(choices=[(1, 'Simbólica'), (2, 'Nominal'), (3, 'Secreta'), (4, 'Leitura')], default=1, verbose_name='Tipo de votação'), |
|||
), |
|||
migrations.AddField( |
|||
model_name='registroleitura', |
|||
name='expediente', |
|||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='sessao.ExpedienteMateria'), |
|||
), |
|||
migrations.AddField( |
|||
model_name='registroleitura', |
|||
name='materia', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='materia.MateriaLegislativa'), |
|||
), |
|||
migrations.AddField( |
|||
model_name='registroleitura', |
|||
name='ordem', |
|||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='sessao.OrdemDia'), |
|||
), |
|||
migrations.AddField( |
|||
model_name='registroleitura', |
|||
name='user', |
|||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL), |
|||
), |
|||
] |
@ -0,0 +1,44 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.11.20 on 2019-10-09 18:50 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('sessao', '0047_merge_20191009_1535'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.RemoveField( |
|||
model_name='registroleitura', |
|||
name='expediente', |
|||
), |
|||
migrations.RemoveField( |
|||
model_name='registroleitura', |
|||
name='materia', |
|||
), |
|||
migrations.RemoveField( |
|||
model_name='registroleitura', |
|||
name='ordem', |
|||
), |
|||
migrations.RemoveField( |
|||
model_name='registroleitura', |
|||
name='user', |
|||
), |
|||
migrations.AlterField( |
|||
model_name='expedientemateria', |
|||
name='tipo_votacao', |
|||
field=models.PositiveIntegerField(choices=[(1, 'Simbólica'), (2, 'Nominal'), (3, 'Secreta')], default=1, verbose_name='Tipo de votação'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='ordemdia', |
|||
name='tipo_votacao', |
|||
field=models.PositiveIntegerField(choices=[(1, 'Simbólica'), (2, 'Nominal'), (3, 'Secreta')], default=1, verbose_name='Tipo de votação'), |
|||
), |
|||
migrations.DeleteModel( |
|||
name='RegistroLeitura', |
|||
), |
|||
] |
Loading…
Reference in new issue