cirandas.net

ref: master

db/migrate/20170401104430_add_top_image_to_profile.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
class AddTopImageToProfile < ActiveRecord::Migration

  def self.up
    add_column :profiles, :top_image_id, :integer
  end

  def self.down
    remove_column :profiles, :top_image_id
  end

end