Sha256: 325235f6b64336689a5ad776ebfceb50458e905dd49ae6a56232303ad4265b67

Contents?: true

Size: 378 Bytes

Versions: 4

Compression:

Stored size: 378 Bytes

Contents

class ChangeUmtNoteAnnotationsToDct < ActiveRecord::Migration[4.2]
  def self.up
    execute "UPDATE note_annotations SET namespace = 'dct', predicate = 'creator' WHERE namespace = 'umt' AND predicate = 'editor'"
  end

  def self.down
    execute "UPDATE note_annotations SET namespace = 'umt', predicate = 'editor' WHERE namespace = 'dct' AND predicate = 'creator'"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
iqvoc-4.14.5 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.14.4 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.13.2 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.13.0 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb