impress/db/migrate/20110126180835_users_devise.rb

15 lines
262 B
Ruby
Raw Normal View History

class UsersDevise < ActiveRecord::Migration[3.2]
def self.up
change_table :users do |t|
t.rememberable
end
end
def self.down
change_table :users do |t|
t.remove :remember_token
t.remove :remember_created_at
end
end
end