discourse/db/migrate/20200713071305_add_bookmark_name_index.rb
Martin Brennan bcc80e0ea8
FEATURE: Add search to user bookmark list (#10230)
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.
2020-07-14 14:43:41 +10:00

8 lines
144 B
Ruby

# frozen_string_literal: true
class AddBookmarkNameIndex < ActiveRecord::Migration[6.0]
def change
add_index :bookmarks, :name
end
end