class AddFilterableClassNameToAudits < ActiveRecord::DataMigration
  def up
    if SystemConfig.transam_module_loaded? :audit
      Audit.where(class_name: "AssetAuditor").each do |audit|
        audit.filterable_class_name = "FtaAssetCategory"
        audit.save
      end
    end
  end
end
Add data migration for filterable class name in audits.
[TTPLAT-633] Add data migration for filterable class name in audits.
