diff --git a/sapl/materia/migrations/0067_auto_20200416_1538.py b/sapl/materia/migrations/0067_auto_20200416_1538.py new file mode 100644 index 000000000..39582f089 --- /dev/null +++ b/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'), + ), + ] diff --git a/sapl/materia/models.py b/sapl/materia/models.py index cd46f83ec..b94ea78ff 100644 --- a/sapl/materia/models.py +++ b/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( diff --git a/sapl/norma/migrations/0033_auto_20200416_1538.py b/sapl/norma/migrations/0033_auto_20200416_1538.py new file mode 100644 index 000000000..29eb096fe --- /dev/null +++ b/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'), + ), + ] diff --git a/sapl/norma/models.py b/sapl/norma/models.py index 3fa683a6a..ca0846eca 100644 --- a/sapl/norma/models.py +++ b/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='' ) diff --git a/sapl/protocoloadm/migrations/0032_auto_20200416_1538.py b/sapl/protocoloadm/migrations/0032_auto_20200416_1538.py new file mode 100644 index 000000000..70968797b --- /dev/null +++ b/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'), + ), + ] diff --git a/sapl/protocoloadm/models.py b/sapl/protocoloadm/models.py index e73a79719..e1a6077dd 100644 --- a/sapl/protocoloadm/models.py +++ b/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( diff --git a/sapl/sessao/migrations/0051_auto_20200416_1538.py b/sapl/sessao/migrations/0051_auto_20200416_1538.py new file mode 100644 index 000000000..da960222d --- /dev/null +++ b/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'), + ), + ] diff --git a/sapl/sessao/models.py b/sapl/sessao/models.py index 2df6e1a14..84f493acd 100644 --- a/sapl/sessao/models.py +++ b/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(