Skip to content

Commit

Permalink
Merge pull request pkp#1548 from jonasraoni/bugfix/main/9851-fix-edit…
Browse files Browse the repository at this point in the history
…or-assignments-migration

Bugfix/main/9851 fix editor assignments migration
  • Loading branch information
jonasraoni authored Apr 19, 2024
2 parents 957b0e5 + a676722 commit 7f8659a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
17 changes: 14 additions & 3 deletions classes/migration/upgrade/v3_4_0/I7191_EditorAssignments.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,18 @@

class I7191_EditorAssignments extends \PKP\migration\upgrade\v3_4_0\I7191_EditorAssignments
{
protected string $sectionDb = 'series';
protected string $sectionIdColumn = 'series_id';
protected string $contextColumn = 'press_id';
protected function getSectionTable(): string
{
return 'series';
}

protected function getSectionId(): string
{
return 'series_id';
}

protected function getContextId(): string
{
return 'press_id';
}
}

0 comments on commit 7f8659a

Please sign in to comment.