foodsoft/db/migrate/020_add_users_last_login.rb
2009-01-06 11:49:19 +01:00

9 lines
181 B
Ruby

class AddUsersLastLogin < ActiveRecord::Migration
def self.up
add_column :users, :last_login, :datetime
end
def self.down
remove_column :users, :last_login
end
end