20150714123613_add_institution_to_comments.rb 213 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 class AddInstitutionToComments < ActiveRecord::Migration def up change_table :comments do |t| t.belongs_to :institution end end def down remove_column :comments, :institution_id end end