cirandas.net

ref: master

db/migrate/20140409211533_add_welcome_page_id_to_profiles.rb


1
2
3
4
5
6
7
8
9
class AddWelcomePageIdToProfiles < ActiveRecord::Migration
  def self.up
    add_column :profiles, :welcome_page_id, :integer
  end

  def self.down
    remove_column :profiles, :welcome_page_id
  end
end