Revision abd8f1d1
Added by Daniel Lobato Garcia over 9 years ago
db/migrate/20130409081924_add_label_to_host_group.rb | ||
---|---|---|
class AddLabelToHostGroup < ActiveRecord::Migration
|
||
|
||
def self.up
|
||
add_column :hostgroups, :label, :string
|
||
|
||
... | ... | |
def self.down
|
||
remove_column :hostgroups, :label
|
||
end
|
||
|
||
end
|
Also available in: Unified diff
Refs #3809 - Remove cops for empty lines