1
0
Fork 0
mirror of https://github.com/LemmyNet/lemmy.git synced 2025-01-07 15:45:13 +00:00
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 ()
* 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 () 2023-07-20 11:13:21 -04:00
up.sql Denormalize community_id into post_aggregates for a 1000x speed-up when loading posts () 2023-07-20 11:13:21 -04:00