Project

General

Profile

Download (286 Bytes) Statistics
| Branch: | Tag: | Revision:
class CreateHostClass < ActiveRecord::Migration
def self.up
rename_table :hosts_puppetclasses, :host_classes
add_column :host_classes, :id, :primary_key
end

def self.down
remove_column :host_classes, :id
rename_table :host_classes, :hosts_puppetclasses
end
end
(83-83/83)