thingspeak/db/migrate/20120215111613_add_index_to_users.rb

10 lines
156 B
Ruby
Raw Normal View History

class AddIndexToUsers < ActiveRecord::Migration
def self.up
add_index :users, :email
end
def self.down
remove_index :users, :email
end
end