20140617134556_add_references_to_institution.rb
360 Bytes
class AddReferencesToInstitution < ActiveRecord::Migration
def up
change_table :institutions do |t|
t.references :governmental_power
t.references :governmental_sphere
end
end
def down
change_table :institutions do |t|
t.remove_references :governmental_power
t.remove_references :governmental_sphere
end
end
end