summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-11-10 18:04:52 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2015-11-10 18:04:52 +0100
commit2063860b1898fc5bbfb748e152c34923d9b24450 (patch)
tree47e71671fb1d86254b5d2d41a2c71bf28e4f4941
parent30ef6312d607ead9b0647cbe2b7c613f83bab8f7 (diff)
downloadIshtar-2063860b1898fc5bbfb748e152c34923d9b24450.tar.bz2
Ishtar-2063860b1898fc5bbfb748e152c34923d9b24450.zip
Fix bad operation_type migration
-rw-r--r--archaeological_operations/migrations/0041_rename_ope_type_2_ope_type_old.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/archaeological_operations/migrations/0041_rename_ope_type_2_ope_type_old.py b/archaeological_operations/migrations/0041_rename_ope_type_2_ope_type_old.py
index f39105e88..f50ae07ad 100644
--- a/archaeological_operations/migrations/0041_rename_ope_type_2_ope_type_old.py
+++ b/archaeological_operations/migrations/0041_rename_ope_type_2_ope_type_old.py
@@ -10,6 +10,7 @@ class Migration(SchemaMigration):
def forwards(self, orm):
for optype in orm['archaeological_operations.OperationType'].objects.all():
orm['ishtar_common.OperationType'].objects.create(
+ id=optype.pk,
order=optype.order,
preventive=optype.preventive,
label=optype.label,