Browse Source

Revert "HOT FIX: adiciona valores default 'one off' para corrigir migração 0026 de matéria (preserve_default=False)"

This reverts commit 9ba41fad6e.
pull/285/head
Edward Ribeiro 9 years ago
parent
commit
6d898baf10
  1. 6
      materia/migrations/0026_auto_20160321_1113.py

6
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,
),
]

Loading…
Cancel
Save