Sha256: 9cb05ef1749ee7e7561b8498b18b59f736313388e5473deb81ef89942fc2eb9a
Contents?: true
Size: 267 Bytes
Versions: 5
Compression:
Stored size: 267 Bytes
Contents
class AddAncestryToHostgroup < ActiveRecord::Migration def self.up add_column :hostgroups, :ancestry, :string add_index :hostgroups, :ancestry end def self.down remove_index :hostgroups, :ancestry remove_column :hostgroups, :ancestry end end
Version data entries
5 entries across 5 versions & 1 rubygems