diff options
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 |
commit | 71acc1f73dbbe4ec239f540b66f67a9eea396d93 (patch) | |
tree | 47e71671fb1d86254b5d2d41a2c71bf28e4f4941 /archaeological_operations | |
parent | 1646b2c56a51b790e4d3966c2a959b7475a2a3af (diff) | |
download | Ishtar-71acc1f73dbbe4ec239f540b66f67a9eea396d93.tar.bz2 Ishtar-71acc1f73dbbe4ec239f540b66f67a9eea396d93.zip |
Fix bad operation_type migration
Diffstat (limited to 'archaeological_operations')
-rw-r--r-- | archaeological_operations/migrations/0041_rename_ope_type_2_ope_type_old.py | 1 |
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, |