Sha256: 711cffc429ca288fe0bda66a550cf5e78468c3949f007ef2b9915371626f2d0b
Contents?: true
Size: 290 Bytes
Versions: 5
Compression:
Stored size: 290 Bytes
Contents
class FixAuditableType < ActiveRecord::Migration def self.up execute "UPDATE audits SET auditable_type='Host' WHERE auditable_type='Puppet::Rails::Host'" end def self.down execute "UPDATE audits SET auditable_type='Puppet::Rails::Host' WHERE auditable_type='Host'" end end
Version data entries
5 entries across 5 versions & 1 rubygems