cirandas.net

ref: master

db/migrate/20130801182659_add_extra_fields_for_person.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
class AddExtraFieldsForPerson < ActiveRecord::Migration
  def self.up
    add_column :profiles, :personal_website, :string
    add_column :profiles, :jabber_id, :string
  end

  def self.down
    remove_column :profiles, :personal_website
    remove_column :profiles, :jabber_id
  end
end