Project

General

Profile

Download (274 Bytes) Statistics
| Branch: | Tag: | Revision:
class AddTaxonomyIdsToHosts < ActiveRecord::Migration[4.2]
def up
add_column :hosts, :organization_id, :integer
add_column :hosts, :location_id, :integer
end

def down
remove_column :hosts, :organization_id
remove_column :hosts, :location_id
end
end
(127-127/407)