Sha256: 50ea9fb542f6c552dd81b259545c2244ba3ceb2cdc9ad904b3bc8bfecf5f4338
Contents?: true
Size: 441 Bytes
Versions: 8
Compression:
Stored size: 441 Bytes
Contents
Dor::Processable.on_upgrade '3.5.0', 'Replace individual *WF datastreams with unified workflows datastream' do |obj| run = false # Touch workflows datastream to ensure it gets saved if obj.workflows.new? obj.workflows.content run = true end # Remove individual *WF datastreams obj.datastreams.each_pair do |dsid,ds| if ds.controlGroup == 'E' && dsid =~ /WF$/ ds.delete run = true end end run end
Version data entries
8 entries across 8 versions & 1 rubygems