]> Untitled Git - lemmy.git/blob - migrations/2023-06-24-185942_aggegates_published_indexes/up.sql
Make hot rank not crash on future (#3517)
[lemmy.git] / migrations / 2023-06-24-185942_aggegates_published_indexes / up.sql
1 -- Add indexes on published column (needed for hot_rank updates)
2
3 create index idx_community_aggregates_published on community_aggregates (published desc);
4 create index idx_comment_aggregates_published on comment_aggregates (published desc);