Browse Source

Fix #3140 - Capacidade dos Campos de IP (#3141)

pull/3145/head
João Rodrigues 5 years ago
committed by GitHub
parent
commit
f472e192a5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 30
      sapl/materia/migrations/0067_auto_20200416_1538.py
  2. 6
      sapl/materia/models.py
  3. 20
      sapl/norma/migrations/0033_auto_20200416_1538.py
  4. 2
      sapl/norma/models.py
  5. 25
      sapl/protocoloadm/migrations/0032_auto_20200416_1538.py
  6. 4
      sapl/protocoloadm/models.py
  7. 30
      sapl/sessao/migrations/0051_auto_20200416_1538.py
  8. 6
      sapl/sessao/models.py

30
sapl/materia/migrations/0067_auto_20200416_1538.py

@ -0,0 +1,30 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.29 on 2020-04-16 18:38
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('materia', '0066_auto_20200313_1441'),
]
operations = [
migrations.AlterField(
model_name='materialegislativa',
name='ip',
field=models.CharField(blank=True, default='', max_length=60, verbose_name='IP'),
),
migrations.AlterField(
model_name='proposicao',
name='ip',
field=models.CharField(blank=True, default='', max_length=60, verbose_name='IP'),
),
migrations.AlterField(
model_name='tramitacao',
name='ip',
field=models.CharField(blank=True, default='', max_length=60, verbose_name='IP'),
),
]

6
sapl/materia/models.py

@ -291,7 +291,7 @@ class MateriaLegislativa(models.Model):
)
ip = models.CharField(
verbose_name=_('IP'),
max_length=30,
max_length=60,
blank=True,
default=''
)
@ -861,7 +861,7 @@ class Proposicao(models.Model):
)
ip = models.CharField(
verbose_name=_('IP'),
max_length=30,
max_length=60,
blank=True,
default=''
)
@ -1087,7 +1087,7 @@ class Tramitacao(models.Model):
null=True,
blank=True)
ip = models.CharField(verbose_name=_('IP'),
max_length=30,
max_length=60,
blank=True,
default='')
ultima_edicao = models.DateTimeField(

20
sapl/norma/migrations/0033_auto_20200416_1538.py

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.29 on 2020-04-16 18:38
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('norma', '0032_auto_20200221_1533'),
]
operations = [
migrations.AlterField(
model_name='normajuridica',
name='ip',
field=models.CharField(blank=True, default='', max_length=60, verbose_name='IP'),
),
]

2
sapl/norma/models.py

@ -152,7 +152,7 @@ class NormaJuridica(models.Model):
)
ip = models.CharField(
verbose_name=_('IP'),
max_length=30,
max_length=60,
blank=True,
default=''
)

25
sapl/protocoloadm/migrations/0032_auto_20200416_1538.py

@ -0,0 +1,25 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.29 on 2020-04-16 18:38
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('protocoloadm', '0031_documentoadministrativo_caractere_identificador'),
]
operations = [
migrations.AlterField(
model_name='documentoadministrativo',
name='ip',
field=models.CharField(blank=True, default='', max_length=60, verbose_name='IP'),
),
migrations.AlterField(
model_name='tramitacaoadministrativo',
name='ip',
field=models.CharField(blank=True, default='', max_length=60, verbose_name='IP'),
),
]

4
sapl/protocoloadm/models.py

@ -199,7 +199,7 @@ class DocumentoAdministrativo(models.Model):
)
ip = models.CharField(
verbose_name=_('IP'),
max_length=30,
max_length=60,
blank=True,
default=''
)
@ -359,7 +359,7 @@ class TramitacaoAdministrativo(models.Model):
null=True,
blank=True)
ip = models.CharField(verbose_name=_('IP'),
max_length=30,
max_length=60,
blank=True,
default='')
ultima_edicao = models.DateTimeField(

30
sapl/sessao/migrations/0051_auto_20200416_1538.py

@ -0,0 +1,30 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.29 on 2020-04-16 18:38
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('sessao', '0050_auto_20191029_1441'),
]
operations = [
migrations.AlterField(
model_name='registroleitura',
name='ip',
field=models.CharField(blank=True, default='', max_length=60, verbose_name='IP'),
),
migrations.AlterField(
model_name='registrovotacao',
name='ip',
field=models.CharField(blank=True, default='', max_length=60, verbose_name='IP'),
),
migrations.AlterField(
model_name='votoparlamentar',
name='ip',
field=models.CharField(blank=True, default='', max_length=60, verbose_name='IP'),
),
]

6
sapl/sessao/models.py

@ -556,7 +556,7 @@ class RegistroVotacao(models.Model):
null=True,
blank=True)
ip = models.CharField(verbose_name=_('IP'),
max_length=30,
max_length=60,
blank=True,
default='')
data_hora = models.DateTimeField(
@ -607,7 +607,7 @@ class VotoParlamentar(models.Model): # RegistroVotacaoParlamentar
null=True,
blank=True)
ip = models.CharField(verbose_name=_('IP'),
max_length=30,
max_length=60,
blank=True,
default='')
data_hora = models.DateTimeField(
@ -901,7 +901,7 @@ class RegistroLeitura(models.Model):
null=True,
blank=True)
ip = models.CharField(verbose_name=_('IP'),
max_length=30,
max_length=60,
blank=True,
default='')
data_hora = models.DateTimeField(

Loading…
Cancel
Save