Class: SchemaContract::DeleteValidationRecordsJob

Inherits:
Object
  • Object
show all
Includes:
Sidekiq::Job
Defined in:
app/sidekiq/schema_contract/delete_validation_records_job.rb

Instance Method Summary collapse

Instance Method Details

#performObject



9
10
11
# File 'app/sidekiq/schema_contract/delete_validation_records_job.rb', line 9

def perform
  SchemaContract::Validation.where(updated_at: ..1.month.ago).destroy_all
end