Skip to content

Commit

Permalink
Merge pull request #31 from camsys/quarter3
Browse files Browse the repository at this point in the history
make all audit results re-create
  • Loading branch information
mathmerized authored Sep 25, 2018
2 parents 5d044e8 + b3cddec commit 45034c9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions db/data_migrations/20180925142205_cleanout_audit_results_assets.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
class CleanoutAuditResultsAssets < ActiveRecord::DataMigration
def up
AuditResult.destroy_all
# re-run all
Audit.all.each do |audit|
job = AuditUpdateJob.new(audit, User.find_by(first_name: 'system'))
Delayed::Job.enqueue job, :priority => 0
end
end
end
2 changes: 1 addition & 1 deletion lib/transam_audit/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module TransamAudit
VERSION = "2.3.2"
VERSION = "2.3.3"
end

0 comments on commit 45034c9

Please sign in to comment.