Sha256: 24f8f90127e589dd6b0a2c72da5c48351203176c59ef8ffe0334c26f3dcc2201
Contents?: true
Size: 270 Bytes
Versions: 13
Compression:
Stored size: 270 Bytes
Contents
# frozen_string_literal: true class IsParanoidToPaperTrail < ActiveRecord::Migration[4.2] def up [Account, Campaign, Contact, Lead, Opportunity, Task].each do |klass| klass.where('deleted_at IS NOT NULL').each(&:destroy) end end def down end end
Version data entries
13 entries across 13 versions & 1 rubygems