20140630183326_add_relation_between_community_and_institution.rb 270 Bytes
class AddRelationBetweenCommunityAndInstitution < ActiveRecord::Migration
  def up
    change_table :institutions do |t|
      t.references :community
    end
  end

  def down
    change_table :institutions do |t|
      t.remove_references :community
    end
  end
end