Skip to content

Commit

Permalink
Merge pull request #2478 from kdambekalns/bugfix/2475-migration-adjus…
Browse files Browse the repository at this point in the history
…tments-4.3

TASK: Limit parentpath index length through annotation
  • Loading branch information
daniellienert authored May 6, 2019
2 parents 322f9b7 + e674e85 commit 311b1c3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Neos.ContentRepository/Classes/Domain/Model/NodeData.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,11 @@
* },
* indexes={
* @ORM\Index(name="parentpath_sortingindex",columns={"parentpathhash", "sortingindex"}),
* @ORM\Index(name="parentpath",columns={"parentpath"}),
* @ORM\Index(name="parentpath",columns={"parentpath"},options={"lengths": {255}}),
* @ORM\Index(name="identifierindex",columns={"identifier"}),
* @ORM\Index(name="nodetypeindex",columns={"nodetype"})
* }
* )
*
* The parentpath index above is actually limited to a size of 255 characters in the corresponding MySQL migration,
* something that cannot be expressed through the annotation.
*/
class NodeData extends AbstractNodeData
{
Expand Down

0 comments on commit 311b1c3

Please sign in to comment.