mirror of
https://github.com/flarum/framework.git
synced 2024-12-01 05:53:45 +08:00
82c57cd36a
This PR introduces an additional index [is_sticky, last_posted_at] to the discussions table. We discovered that when viewing discussions in a tag with a large number of discussions (approx 1.4M in our case), performance was poor when using the default sort criteria (sort by latest). |
||
---|---|---|
.. | ||
2015_02_24_000000_add_sticky_to_discussions.php | ||
2017_07_22_000000_add_default_permissions.php | ||
2018_09_15_043621_add_discussions_indices.php | ||
2021_01_13_000000_add_discussion_last_posted_at_indices.php |