mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-22 22:49:18 +00:00
f4565d0603
* One pass at materialized views, only about 30% faster, not good. * Before merging master to test out bans. * DB Rework working, still need more testing. * Fixing accidental addadmin bug from asonix async merge. * Fixing the comment delete trigger * Some more DB additions. - Adding a hot_rank desc, published desc index to post_aggregates_fast. - Removed WITH CTE queries in favor of direct selects (since CTEs cant use indexes) * Removing some unecessary indexes. * Some more DB optimizings - Changing the fast_id pkeys to just ids on the fast tables. - Removing the private_message_fast, since the view contains no aggregates. - Comment and post voting now no longer pull from the views, they update the counts directly. * Adding community_agg_view and post_agg_views Credit: eiknat. * Adding user and comment_view migrations. (comment_view still broken) * Adding more views. Credit Eiknat. |
||
---|---|---|
.. | ||
00000000000000_diesel_initial_setup | ||
2019-02-26-002946_create_user | ||
2019-02-27-170003_create_community | ||
2019-03-03-163336_create_post | ||
2019-03-05-233828_create_comment | ||
2019-03-30-212058_create_post_view | ||
2019-04-03-155205_create_community_view | ||
2019-04-03-155309_create_comment_view | ||
2019-04-07-003142_create_moderation_logs | ||
2019-04-08-015947_create_user_view | ||
2019-04-11-144915_create_mod_views | ||
2019-04-29-175834_add_delete_columns | ||
2019-05-02-051656_community_view_hot_rank | ||
2019-06-01-222649_remove_admin | ||
2019-08-11-000918_add_nsfw_columns | ||
2019-08-29-040006_add_community_count | ||
2019-09-05-230317_add_mod_ban_views | ||
2019-09-09-042010_add_stickied_posts | ||
2019-10-15-181630_add_themes | ||
2019-10-19-052737_create_user_mention | ||
2019-10-21-011237_add_default_sorts | ||
2019-10-24-002614_create_password_reset_request | ||
2019-12-09-060754_add_lang | ||
2019-12-11-181820_add_site_fields | ||
2019-12-29-164820_add_avatar | ||
2020-01-01-200418_add_email_to_user_view | ||
2020-01-02-172755_add_show_avatar_and_email_notifications_to_user | ||
2020-01-11-012452_add_indexes | ||
2020-01-13-025151_create_materialized_views | ||
2020-01-21-001001_create_private_message | ||
2020-01-29-011901_create_reply_materialized_view | ||
2020-01-29-030825_create_user_mention_materialized_view | ||
2020-02-02-004806_add_case_insensitive_usernames | ||
2020-02-06-165953_change_post_title_length | ||
2020-02-07-210055_add_comment_subscribed | ||
2020-02-08-145624_add_post_newest_activity_time | ||
2020-03-06-202329_add_post_iframely_data | ||
2020-03-26-192410_add_activitypub_tables | ||
2020-04-03-194936_add_activitypub_for_posts_and_comments | ||
2020-04-07-135912_add_user_community_apub_constraints | ||
2020-04-14-163701_update_views_for_activitypub | ||
2020-04-21-123957_remove_unique_user_constraints | ||
2020-05-05-210233_add_activitypub_for_private_messages | ||
2020-06-30-135809_remove_mat_views | ||
.gitkeep |