Skip to content

Commit

Permalink
Adding a composite index on wishlist entity (channel,shopUser,token) …
Browse files Browse the repository at this point in the history
…to speed up queries
  • Loading branch information
christopherhero committed Aug 31, 2023
1 parent bcbe29e commit c040b4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Resources/config/doctrine/Wishlist.orm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

<indexes>
<index name="token_idx" columns="token"/>
<index name="channel_shop_user_token_idx" columns="channel_id,shop_user_id,token"/>
</indexes>
</mapped-superclass>

Expand Down

0 comments on commit c040b4c

Please sign in to comment.