Explorar o código

Update migrations

Espinoza Guillermo %!s(int64=6) %!d(string=hai) anos
pai
achega
50e7a5d7b8

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 11 - 138
app/DoctrineMigrations/src/action.yml


+ 1 - 1
app/DoctrineMigrations/src/workflow.yml

@@ -37,7 +37,7 @@ insertorupdate:
           marking_type: "single_state"
           marking_name: "currentState"
           description: "ONU Workflow v2"
-          template: "initial_place: active\r\nplaces:\r\n  - active\r\n  - disable\r\n  - deleted\r\ntransitions:\r\n  active:\r\n    from: disable\r\n    to: active\r\n  disable_deleted:\r\n    from: disable\r\n    to: deleted\r\n  add_config:\r\n    from: active\r\n    to: active\r\n  disable:\r\n    from: active\r\n    to: disable\r\n  active_deleted:\r\n    from: active\r\n    to: deleted"
+          template: "initial_place: active\r\nplaces:\r\n  - active\r\n  - disable\r\n  - deleted\r\ntransitions:\r\n  active:\r\n    from: disable\r\n    to: active\r\n  disable_deleted:\r\n    from: disable\r\n    to: deleted\r\n  add_config:\r\n    from: active\r\n    to: active\r\n  disable:\r\n    from: active\r\n    to: disable\r\n  active_deleted:\r\n    from: active\r\n    to: deleted\r\n  deleted_active:\r\n    from: deleted\r\n    to: active"
           created: "2018-08-06 17:13:54"
           updated: "2018-08-07 14:58:10"
           tenancy_id: 1

+ 3 - 0
app/Resources/workflows/workflow_list.yml.dist

@@ -77,3 +77,6 @@ framework:
         active_deleted:
           from: active
           to: deleted
+        deleted_created:
+          from: deleted
+          to: created