]> Untitled Git - lemmy.git/blob - migrations/2023-06-24-185942_aggegates_published_indexes/up.sql
Split activity table into sent and received parts (fixes #3103) (#3583)
[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);