implement saved searches, move user boolean settings to bitprefs

This commit is contained in:
r888888888
2014-06-03 15:54:22 -07:00
parent 901aa1264c
commit f02f72fac1
27 changed files with 547 additions and 105 deletions

View File

@@ -0,0 +1,16 @@
class CreateSavedSearches < ActiveRecord::Migration
def change
create_table :saved_searches do |t|
t.integer :user_id
t.text :tag_query
t.text :name
t.string :category
t.timestamps
end
add_index :saved_searches, :user_id
add_index :saved_searches, :tag_query
add_index :saved_searches, :category
end
end