Skip to content

Commit

Permalink
Merge pull request #5009 from mhsdesign/bugfix/revert-4790
Browse files Browse the repository at this point in the history
!!! BUGFIX: Fix schema of hierarchy relation table
  • Loading branch information
mhsdesign committed Apr 24, 2024
2 parents 47151a2 + cfaa24f commit 5d855d3
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ private function createHierarchyRelationTable(): Table
]);

return $table
->setPrimaryKey(['childnodeanchor', 'contentstreamid', 'dimensionspacepointhash', 'parentnodeanchor'])
->addIndex(['childnodeanchor'])
->addIndex(['contentstreamid'])
->addIndex(['parentnodeanchor'])
->addIndex(['contentstreamid', 'childnodeanchor', 'dimensionspacepointhash'])
->addIndex(['contentstreamid', 'dimensionspacepointhash']);
}

Expand Down

0 comments on commit 5d855d3

Please sign in to comment.