Project

General

Profile

Download (257 Bytes) Statistics
| Branch: | Tag: | Revision:
class AddAncestryToHostgroup < ActiveRecord::Migration
def up
add_column :hostgroups, :ancestry, :string
add_index :hostgroups, :ancestry
end

def down
remove_index :hostgroups, :ancestry
remove_column :hostgroups, :ancestry
end
end
(80-80/282)