Sha256: 0bc39d374b567525c5190cb55544c995a9f7d3c63ca3d8e5f0c17390f8ce4bcf

Contents?: true

Size: 442 Bytes

Versions: 8

Compression:

Stored size: 442 Bytes

Contents

namespace :hyrax do
  namespace :migrate do
    task move_all_works_to_admin_set: :environment do
      require 'hyrax/move_all_works_to_admin_set'
      MoveAllWorksToAdminSet.run(AdminSet.find(AdminSet::DEFAULT_ID))
    end
    desc "Move membership from collection#members work#member_of_collections"
    task collections: :environment do
      require 'hyrax/collections_migration'
      Hyrax::CollectionsMigration.run
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hyrax-1.1.1 lib/tasks/migrate.rake
hyrax-1.1.0 lib/tasks/migrate.rake
hyrax-1.0.5 lib/tasks/migrate.rake
hyrax-1.0.4 lib/tasks/migrate.rake
hyrax-1.0.3 lib/tasks/migrate.rake
hyrax-1.0.2 lib/tasks/migrate.rake
hyrax-1.0.1 lib/tasks/migrate.rake
hyrax-1.0.0.rc2 lib/tasks/migrate.rake