Sha256: 351d671da869d8cb9650b504f44556e0d7847cd751bfa86f5cf03bbf4b6c60e4

Contents?: true

Size: 300 Bytes

Versions: 23

Compression:

Stored size: 300 Bytes

Contents

namespace :curation_concerns do
  namespace :migrate do
    desc "Migrate audit logs"
    task audit_logs: :environment do
      ChecksumAuditLog.all.each do |cs|
        cs.file_set_id = cs.file_set_id.delete "#{CurationConcerns.config.redis_namespace}:"
        cs.save
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
curation_concerns-0.14.0 lib/tasks/migrate.rake
curation_concerns-0.14.0.pre4 lib/tasks/migrate.rake
curation_concerns-0.14.0.pre3 lib/tasks/migrate.rake
curation_concerns-0.14.0.pre2 lib/tasks/migrate.rake
curation_concerns-0.14.0.pre1 lib/tasks/migrate.rake
curation_concerns-0.13.1 lib/tasks/migrate.rake
curation_concerns-0.13.0 lib/tasks/migrate.rake
curation_concerns-0.12.0 lib/tasks/migrate.rake
curation_concerns-0.12.0.pre9 lib/tasks/migrate.rake
curation_concerns-0.12.0.pre8 lib/tasks/migrate.rake
curation_concerns-0.12.0.pre7 lib/tasks/migrate.rake
curation_concerns-0.12.0.pre6 lib/tasks/migrate.rake
curation_concerns-0.12.0.pre5 lib/tasks/migrate.rake
curation_concerns-0.12.0.pre4 lib/tasks/migrate.rake
curation_concerns-0.12.0.pre3 lib/tasks/migrate.rake
curation_concerns-0.12.0.pre2 lib/tasks/migrate.rake
curation_concerns-models-0.12.0.pre1 lib/tasks/migrate.rake
curation_concerns-models-0.11.0 lib/tasks/migrate.rake
curation_concerns-models-0.11.0.rc1 lib/tasks/migrate.rake
curation_concerns-models-0.10.0 lib/tasks/migrate.rake