Skip to content

Commit

Permalink
pkp/pkp-lib#9851 Updated migration to comply with its base class
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasraoni committed Apr 19, 2024
1 parent bc569eb commit 83ee72f
Showing 1 changed file with 14 additions and 3 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 83ee72f

Please sign in to comment.