From 220c7f8d4682b048d78de6e7b2abdaffc5c4383c Mon Sep 17 00:00:00 2001 From: Vitalii Bezsheiko Date: Thu, 30 Nov 2023 18:43:24 +0200 Subject: [PATCH] pkp/pkp-lib#9533 Decision migration for OPS --- .../v3_4_0/I7725_DecisionConstantsUpdate.php | 39 +++++++++++++++++++ dbscripts/xml/upgrade.xml | 1 + 2 files changed, 40 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..f8c64d09e3 --- /dev/null +++ b/classes/migration/upgrade/v3_4_0/I7725_DecisionConstantsUpdate.php @@ -0,0 +1,39 @@ + WORKFLOW_STAGE_ID_PRODUCTION, + 'current_value' => 9, + 'updated_value' => 8, + ], + // \PKP\decision\Decision::REVERT_DECLINE to \PKP\decision\Decision::REVERT_INITIAL_DECLINE + // \PKP\decision\Decision::REVERT_DECLINE removed in 3.4 + [ + 'stage_id' => WORKFLOW_STAGE_ID_PRODUCTION, + 'current_value' => 17, + 'updated_value' => 16, + ] + ]; + } +} diff --git a/dbscripts/xml/upgrade.xml b/dbscripts/xml/upgrade.xml index 05fe0962ce..8f3dac9f50 100644 --- a/dbscripts/xml/upgrade.xml +++ b/dbscripts/xml/upgrade.xml @@ -91,6 +91,7 @@ +