Project

General

Profile

Download (277 Bytes) Statistics
| Branch: | Tag: | Revision:
class RenameIpmiBootPermission < ActiveRecord::Migration[4.2]
def up
Permission.where(:name => 'ipmi_boot').
update_all(:name => 'ipmi_boot_hosts')
end

def down
Permission.where(:name => 'ipmi_boot_hosts').
update_all(:name => 'ipmi_boot')
end
end
(340-340/405)