Sha256: 499003d5e0ed2312a25b16d0c538b176262e569777ff26ff7d3548bb3cd44920
Contents?: true
Size: 423 Bytes
Versions: 4
Compression:
Stored size: 423 Bytes
Contents
class FixCollectionType < ActiveRecord::Migration[4.2] def up execute "UPDATE concepts SET type='Collection::SKOS::Unordered' WHERE type='Collection::Unordered'" execute "UPDATE collection_members SET type='Collection::Member::SKOS::Base' WHERE type='Collection::Member::Concept'" end def down execute "UPDATE concepts SET type='Collection::Unordered' WHERE type='Collection::SKOS::Unordered'" end end
Version data entries
4 entries across 4 versions & 1 rubygems