collab/db/migrate/20100305060621_add_contact_info_to_users.rb

14 lines
313 B
Ruby
Raw Permalink Normal View History

2010-03-05 06:48:00 +00:00
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