The old query could be extremely slow and resource intensive.
This also switches `granted_at` from the post's creation date to the date when the post was marked as solution.
The old query could be extremely slow and resource intensive.
This also switches `granted_at` from `current_timestamp` to the date of the most recent accepted answer for each user.
* FEATURE: Add helpdesk and tech support badges
When plugin is installed, we should create helpdesk and tech support
badges.
Both badges should be disabled by default