summaryrefslogtreecommitdiff
path: root/archaeological_operations
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations')
-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,