Fixing other sort.

This commit is contained in:
Dessalines 2023-01-31 21:05:43 -05:00
parent fc878a7a22
commit b22b89862e

View File

@ -3,5 +3,5 @@ drop index
idx_post_aggregates_featured_local_active,
idx_post_aggregates_featured_community_active;
create index idx_post_aggregates_featured_local_active on post_aggregates (featured_local desc, hot_rank(score, newest_comment_time_necro) desc, newest_comment_time desc);
create index idx_post_aggregates_featured_community_active on post_aggregates (featured_community desc, hot_rank(score, newest_comment_time_necro) desc, newest_comment_time desc);
create index idx_post_aggregates_featured_local_active on post_aggregates (featured_local desc, hot_rank(score, newest_comment_time_necro) desc, newest_comment_time_necro desc);
create index idx_post_aggregates_featured_community_active on post_aggregates (featured_community desc, hot_rank(score, newest_comment_time_necro) desc, newest_comment_time_necro desc);