Project

General

Profile

Download (345 Bytes) Statistics
| Branch: | Tag: | Revision:
class AddSubSystemsToSubnet < ActiveRecord::Migration
def up
add_column :subnets, :dhcp_id, :integer
add_column :subnets, :tftp_id, :integer
rename_column :subnets, :number, :network
end

def down
remove_column :subnets, :dhcp_id
remove_column :subnets, :tftp_id
rename_column :subnets, :network, :number
end
end
(61-61/282)