impress/db/migrate/20110126180835_users_devise.rb

14 lines
257 B
Ruby

class UsersDevise < ActiveRecord::Migration
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