]> Untitled Git - lemmy.git/commit
Adding stickied to post_aggregates.
authorDessalines <tyhou13@gmx.com>
Thu, 7 Jan 2021 21:22:17 +0000 (16:22 -0500)
committerDessalines <tyhou13@gmx.com>
Thu, 7 Jan 2021 21:22:17 +0000 (16:22 -0500)
commit7a97fc370bee9e81e9d7b39db491d5c8c27f36ba
tree94c38f172d21c366508d2e97b96de93bc2914bd9
parentb9b51c2dfcb5a59a224dd4af5874feaa0b19b7d6
Adding stickied to post_aggregates.

- Added more indexes to account for sorting by stickied first.
- Changed all order bys in the diesel views to use post_aggregates.
lemmy_db_queries/src/aggregates/post_aggregates.rs
lemmy_db_schema/src/schema.rs
lemmy_db_views/src/post_view.rs
migrations/2020-12-10-152350_create_post_aggregates/down.sql
migrations/2020-12-10-152350_create_post_aggregates/up.sql
migrations/2021-01-05-200932_add_hot_rank_indexes/down.sql
migrations/2021-01-05-200932_add_hot_rank_indexes/up.sql
query_testing/views_to_diesel_migration/generate_reports.sh
query_testing/views_to_diesel_migration/timings-1.out [deleted file]