collab/db/migrate/20100305060621_add_contact_info_to_users.rb
2010-03-05 01:48:00 -05:00

14 lines
313 B
Ruby

class AddContactInfoToUsers < ActiveRecord::Migration
def self.up
add_column :users, :phone, :string
add_column :users, :mobile, :string
add_column :users, :im, :string
end
def self.down
remove_column :users, :im
remove_column :users, :mobile
remove_column :users, :phone
end
end