Skip to content

Add index on both Award Emoji user and name

Zeger-Jan van de Weg requested to merge index-on-emoji-name-and-user into master

What does this MR do?

It adds an index on the award_emoji table.

Why was this MR needed?

In the awardable, there is a check if the emoji is already awarded. This query didn't have an index, so I expected this to be needed.

Does this MR meet the acceptance criteria?

  • CHANGELOG entry added -- Doesn't seem needed

/cc @yorickpeterse

Merge request reports