Sha256: 3f79c2b5073acfce7a5b53d0214e8763e1b4222308e56e9ba3ebf8e3b54f50b9

Contents?: true

Size: 844 Bytes

Versions: 1

Compression:

Stored size: 844 Bytes

Contents

# ActiveRecord class to store the current migration status of an object in ActiveFedora.
#
# @attr [String] object_id fedora id of the object being migrated
# @attr [String] object_class fedora class of the object being migrated (Collection, GenericFile)
# @attr [String] object_title title of the object being migrated
# @attr [enum]   migration_status - Status of the object's migration
# @option migration_status :initial_state initial state before migration
# @option migration_status :successful migrated successfully
# @option migration_status :missing Missing when verified
# @option migration_status :wrong_type Migrated but wrong type
module Sufia
  module Migration
    module Survey
      class Item < ActiveRecord::Base
        enum migration_status: [:initial_state, :successful, :missing, :wrong_type]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sufia-6.7.0 lib/sufia/migration/survey/item.rb