Project

General

Profile

Download (187 Bytes) Statistics
| Branch: | Tag: | Revision:
class AddEnabledToHosts < ActiveRecord::Migration[4.2]
def up
add_column :hosts, :enabled, :boolean, :default => true
end

def down
remove_column :hosts, :enabled
end
end
(46-46/409)