Skip to content

Commit

Permalink
pkp/pkp-lib#1660 added temp upgrade migration
Browse files Browse the repository at this point in the history
  • Loading branch information
touhidurabir committed Jan 23, 2025
1 parent 35283d5 commit 3d5ff3f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
10 changes: 0 additions & 10 deletions classes/migration/upgrade/v3_6_0/I1660_ReviewerRecommendations.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,6 @@ class I1660_ReviewerRecommendations extends \PKP\migration\upgrade\v3_6_0\I1660_
public const SUBMISSION_REVIEWER_RECOMMENDATION_DECLINE = 5;
public const SUBMISSION_REVIEWER_RECOMMENDATION_SEE_COMMENTS = 6;

/**
* Run the migration.
*/
public function up(): void
{
parent::up();

$this->seedNonRemovableRecommendations();
}

protected function systemDefineNonRemovableRecommendations(): array
{
return [
Expand Down
1 change: 1 addition & 0 deletions dbscripts/xml/install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@

<migration class="APP\migration\install\OJSMigration" />

<migration class="APP\migration\install\ReviewerRecommendationsMigration" />
<migration class="PKP\migration\install\MetadataMigration" />
<migration class="PKP\migration\install\AnnouncementsMigration" />
<migration class="PKP\migration\install\CategoriesMigration" />
Expand Down
1 change: 1 addition & 0 deletions dbscripts/xml/upgrade.xml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@
<migration class="APP\migration\upgrade\v3_5_0\I10620_EditorialBoardMemberRole"/>
<migration class="APP\migration\upgrade\v3_5_0\I9707_WeblateUILocales"/>
<note file="docs/release-notes/README-3.5.0" />
<migration class="APP\migration\upgrade\v3_6_0\I1660_ReviewerRecommendations"/>
</upgrade>

<!-- update plugin configuration - should be done as the final upgrade task -->
Expand Down

0 comments on commit 3d5ff3f

Please sign in to comment.