lemmy/migrations/2023-06-24-185942_aggegates.../up.sql

6 lines
243 B
MySQL
Raw Permalink Normal View History

2023-06-27 08:13:51 +00:00
-- Add indexes on published column (needed for hot_rank updates)
CREATE INDEX idx_community_aggregates_published ON community_aggregates (published DESC);
CREATE INDEX idx_comment_aggregates_published ON comment_aggregates (published DESC);
2023-06-27 08:13:51 +00:00