update with changes from Production branch
This commit is contained in:
9
db/migrate/20120215111613_add_index_to_users.rb
Normal file
9
db/migrate/20120215111613_add_index_to_users.rb
Normal file
@ -0,0 +1,9 @@
|
||||
class AddIndexToUsers < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_index :users, :email
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_index :users, :email
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user