cirandas.net

ref: master

db/migrate/066_add_preferred_domain_name_to_profiles.rb


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

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