Skip to content

Commit

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

Bugfix/main/9851 fix editor assignments migration
  • Loading branch information
jonasraoni authored Apr 19, 2024
2 parents bc569eb + 90c79b6 commit 1c52d86
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 = 'sections';
protected string $sectionIdColumn = 'section_id';
protected string $contextColumn = 'server_id';
protected function getSectionTable(): string
{
return 'sections';
}

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

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

0 comments on commit 1c52d86

Please sign in to comment.