mirror of
https://github.com/discourse/discourse.git
synced 2025-02-19 15:02:55 +08:00

User bookmarks can now be searched by name or post raw content. The q querystring param is hooked up from the Ember router as well.
8 lines
144 B
Ruby
8 lines
144 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddBookmarkNameIndex < ActiveRecord::Migration[6.0]
|
|
def change
|
|
add_index :bookmarks, :name
|
|
end
|
|
end
|