⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
Foreman
All Projects
Overview
Activity
Roadmap
Issues
Wiki
Repository
Download (189 Bytes)
Feature #364
» 20100823181036_add_enabled_to_hosts.rb
Add enabled flag to hosts -
Eric Shamow
, 08/23/2010 11:42 PM
class
AddEnabledToHosts
<
ActiveRecord
::
Migration
def
self
.
up
add_column
:hosts
,
:enabled
,
:boolean
,
:default
=>
1
end
def
self
.
down
remove_column
:hosts
,
:enabled
end
end
« Previous
1
2
3
Next »
(2-2/3)
Loading...