Project

General

Profile

Download (225 Bytes) Statistics
| Branch: | Tag: | Revision:
class RemoveTotalHostsAudits < ActiveRecord::Migration[4.2]
def up
Audit.where(:auditable_type => 'Puppetclass').where(Audit.arel_table[:audited_changes].matches("%total_hosts%")).delete_all
end

def down
end
end
(268-268/405)