blob: f3a8ccbcb36c3b06b8676b8b3b1d9cadb9472e84 (
plain)
1
2
3
4
5
6
7
8
9
|
class AddMissingIndexesToUserPreferences < ActiveRecord::Migration
def self.up
add_index :user_preferences, :user_id
end
def self.down
remove_index :user_preferences, :user_id
end
end
|