From ac1d54acca91653fca9a76665086e1391ce6288f Mon Sep 17 00:00:00 2001 From: Touhidur Rahman Date: Wed, 9 Apr 2025 20:00:40 +0600 Subject: [PATCH] pkp/pkp-lib#11241 Added missing decisions migration for OPS --- .../I11241_MissingDecisionConstantsUpdate.php | 43 +++++++++++++++++++ dbscripts/xml/upgrade.xml | 1 + 2 files changed, 44 insertions(+) create mode 100644 classes/migration/upgrade/v3_5_0/I11241_MissingDecisionConstantsUpdate.php diff --git a/classes/migration/upgrade/v3_5_0/I11241_MissingDecisionConstantsUpdate.php b/classes/migration/upgrade/v3_5_0/I11241_MissingDecisionConstantsUpdate.php new file mode 100644 index 0000000000..c3538f6791 --- /dev/null +++ b/classes/migration/upgrade/v3_5_0/I11241_MissingDecisionConstantsUpdate.php @@ -0,0 +1,43 @@ + 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 a0271ff501..79e3664121 100644 --- a/dbscripts/xml/upgrade.xml +++ b/dbscripts/xml/upgrade.xml @@ -153,6 +153,7 @@ +