Project

General

Profile

Download (278 Bytes) Statistics
| Branch: | Tag: | Revision:
class ChangeDefaultSubnetBootMode < ActiveRecord::Migration[4.2]
def up
change_column :subnets, :boot_mode, :string, :default => Subnet::BOOT_MODES[:dhcp]
end

def down
change_column :subnets, :boot_mode, :string, :default => Subnet::BOOT_MODES[:static]
end
end
(260-260/409)