mirror of
https://github.com/discourse/discourse.git
synced 2025-03-01 13:30:44 +08:00

We perform lookups on sidebar section links based on sidebar_section_id totally ignoring user. This ensures we have an index to work with. This removes the previous index `links_user_id_section_id_position` which partially doubled up `idx_unique_sidebar_section_links`