mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-09-16 19:29:09 -06:00
5 lines
259 B
SQL
5 lines
259 B
SQL
drop index idx_comment_aggregates_hot, idx_comment_aggregates_score;
|
|
|
|
create index idx_comment_aggregates_hot on comment_aggregates (hot_rank desc, published desc);
|
|
create index idx_comment_aggregates_score on comment_aggregates (score desc, published desc);
|