From 6d898baf10753a0fb8d50464515074e66413d9b8 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Tue, 22 Mar 2016 14:55:28 -0300 Subject: [PATCH] =?UTF-8?q?Revert=20"HOT=20FIX:=20adiciona=20valores=20def?= =?UTF-8?q?ault=20'one=20off'=20para=20corrigir=20migra=C3=A7=C3=A3o=20002?= =?UTF-8?q?6=20de=20mat=C3=A9ria=20(preserve=5Fdefault=3DFalse)"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 9ba41fad6e6d339698a3c1a955442bb2a184d547. --- materia/migrations/0026_auto_20160321_1113.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/materia/migrations/0026_auto_20160321_1113.py b/materia/migrations/0026_auto_20160321_1113.py index ab302a72a..8d6f284a6 100644 --- a/materia/migrations/0026_auto_20160321_1113.py +++ b/materia/migrations/0026_auto_20160321_1113.py @@ -24,7 +24,7 @@ class Migration(migrations.Migration): migrations.AlterField( model_name='tramitacao', name='status', - field=models.ForeignKey(default='3', on_delete=django.db.models.deletion.CASCADE, to='materia.StatusTramitacao', verbose_name='Status'), + field=models.ForeignKey(default=datetime.datetime(2016, 3, 21, 14, 13, 17, 24259, tzinfo=utc), on_delete=django.db.models.deletion.CASCADE, to='materia.StatusTramitacao', verbose_name='Status'), preserve_default=False, ), migrations.AlterField( @@ -35,13 +35,13 @@ class Migration(migrations.Migration): migrations.AlterField( model_name='tramitacao', name='unidade_tramitacao_destino', - field=models.ForeignKey(default='10', on_delete=django.db.models.deletion.CASCADE, related_name='+', to='materia.UnidadeTramitacao', verbose_name='Unidade Destino'), + field=models.ForeignKey(default=datetime.datetime(2016, 3, 21, 14, 13, 26, 344314, tzinfo=utc), on_delete=django.db.models.deletion.CASCADE, related_name='+', to='materia.UnidadeTramitacao', verbose_name='Unidade Destino'), preserve_default=False, ), migrations.AlterField( model_name='tramitacao', name='unidade_tramitacao_local', - field=models.ForeignKey(default='11', on_delete=django.db.models.deletion.CASCADE, related_name='+', to='materia.UnidadeTramitacao', verbose_name='Unidade Local'), + field=models.ForeignKey(default=datetime.datetime(2016, 3, 21, 14, 13, 27, 824247, tzinfo=utc), on_delete=django.db.models.deletion.CASCADE, related_name='+', to='materia.UnidadeTramitacao', verbose_name='Unidade Local'), preserve_default=False, ), ]