lemmy/migrations/2023-07-18-082614_post_aggregates_community_id
Sander Saarend b511c2e6cb
Denormalize community_id into post_aggregates for a 1000x speed-up when loading posts (#3653)
* Denormalize community_id into post_aggregates for a 1000x speed-up when loading posts

* Remove unused index

* Add creator_id to post_aggregates

* Use post_aggregates as main table for PostQuery

* Make post_aggregates the main table for PostView

* Reformat SQL
2023-07-20 11:13:21 -04:00
..
down.sql Denormalize community_id into post_aggregates for a 1000x speed-up when loading posts (#3653) 2023-07-20 11:13:21 -04:00
up.sql Denormalize community_id into post_aggregates for a 1000x speed-up when loading posts (#3653) 2023-07-20 11:13:21 -04:00