Project

General

Profile

Download (299 Bytes) Statistics
| Branch: | Tag: | Revision:
class RenameHostsCountColumn < ActiveRecord::Migration
#prevent wierdness with rails treating hosts_count as cached counter in some cases
def up
rename_column :puppetclasses, :hosts_count, :total_hosts
end

def down
rename_column :puppetclasses, :total_hosts, :hosts_count
end
end
(241-241/242)