From 15ac9689ec89d033edc571eee7d04635dded6f96 Mon Sep 17 00:00:00 2001 From: Jhon Date: Thu, 23 Nov 2023 15:40:50 -0400 Subject: [PATCH] Adds decisions constants migration Signed-off-by: Jhon Signed-off-by: Iudi --- .../v3_4_0/I7725_DecisionConstantsUpdate.php | 44 +++++++++++++++++++ dbscripts/xml/upgrade.xml | 1 + 2 files changed, 45 insertions(+) create mode 100644 classes/migration/upgrade/v3_4_0/I7725_DecisionConstantsUpdate.php diff --git a/classes/migration/upgrade/v3_4_0/I7725_DecisionConstantsUpdate.php b/classes/migration/upgrade/v3_4_0/I7725_DecisionConstantsUpdate.php new file mode 100644 index 0000000000..9945034120 --- /dev/null +++ b/classes/migration/upgrade/v3_4_0/I7725_DecisionConstantsUpdate.php @@ -0,0 +1,44 @@ + [WORKFLOW_STAGE_ID_PRODUCTION], + 'current_value' => 9, + 'updated_value' => 8, + ], + + // \PKP\decision\Decision::REVERT_INITIAL_DECLINE + [ + 'stage_id' => [WORKFLOW_STAGE_ID_PRODUCTION], + 'current_value' => 17, + 'updated_value' => 16 + ], + + + ]; + } +} \ No newline at end of file diff --git a/dbscripts/xml/upgrade.xml b/dbscripts/xml/upgrade.xml index 24ae5a8679..1bc5fd43fd 100644 --- a/dbscripts/xml/upgrade.xml +++ b/dbscripts/xml/upgrade.xml @@ -72,6 +72,7 @@ +