diff --git a/sapl/sessao/migrations/0018_auto_20180327_1433.py b/sapl/sessao/migrations/0018_auto_20180327_1433.py new file mode 100644 index 000000000..692debf28 --- /dev/null +++ b/sapl/sessao/migrations/0018_auto_20180327_1433.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.11 on 2018-03-27 17:33 +from __future__ import unicode_literals + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('sessao', '0017_auto_20180316_0731'), + ] + + operations = [ + migrations.RemoveField( + model_name='registrovotacao', + name='data_hora_atualizacao', + ), + migrations.RemoveField( + model_name='registrovotacao', + name='data_hora_criacao', + ), + ] diff --git a/sapl/sessao/models.py b/sapl/sessao/models.py index 49448eecc..90736d6e0 100644 --- a/sapl/sessao/models.py +++ b/sapl/sessao/models.py @@ -417,16 +417,6 @@ class RegistroVotacao(models.Model): observacao = models.TextField( blank=True, verbose_name=_('Observações')) - data_hora_criacao = models.DateTimeField( - blank=True, null=True, - auto_now_add=True, - verbose_name=_('Data Criação')) - - data_hora_atualizacao = models.DateTimeField( - blank=True, null=True, - auto_now=True, - verbose_name=_('Data')) - class Meta: verbose_name = _('Votação') verbose_name_plural = _('Votações')