ref: master
db/migrate/20100827175629_add_presence_status_to_users.rb
1 2 3 4 5 6 7 8 9 10 11 |
class AddPresenceStatusToUsers < ActiveRecord::Migration def self.up add_column :users, :last_presence_status, :string, :default => '' add_column :users, :presence_status, :string, :default => '' end def self.down remove_column :users, :last_presence_status remove_column :users, :presence_status end end |