From c2b72f0f8af583bdcd8c87f0ac68a9a4c8605cf5 Mon Sep 17 00:00:00 2001 From: Hafsa-Naeem Date: Thu, 19 Sep 2024 22:26:37 +0500 Subject: [PATCH] pkp/pkp-lib#10359 add migration for the date_editor_confirmed --- ...DateEditorConfirmedToReviewAssignments.php | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 classes/migration/upgrade/v3_5_0/I10359_DateEditorConfirmedToReviewAssignments.php diff --git a/classes/migration/upgrade/v3_5_0/I10359_DateEditorConfirmedToReviewAssignments.php b/classes/migration/upgrade/v3_5_0/I10359_DateEditorConfirmedToReviewAssignments.php new file mode 100644 index 00000000000..7993f128dfa --- /dev/null +++ b/classes/migration/upgrade/v3_5_0/I10359_DateEditorConfirmedToReviewAssignments.php @@ -0,0 +1,42 @@ +dateTime('date_editor_confirmed')->after('date_completed')->nullable(); + }); + } + + /** + * Reverse the downgrades + */ + public function down(): void + { + Schema::table('review_assignments', function (Blueprint $table) { + $table->dropColumn('date_editor_confirmed'); + }); + } +}