mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 01:17:09 +08:00

* Remove unneeded bookmark name index. * Change bookmark search query to use post_search_data. This allows searching on topic title and post content * Tweak the style/layout of the bookmark list so the search looks better and the whole page fits better on mobile.
8 lines
162 B
Ruby
8 lines
162 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RemoveUnneccessaryBookmarkNameIndex < ActiveRecord::Migration[6.0]
|
|
def change
|
|
remove_index :bookmarks, :name
|
|
end
|
|
end
|