Sha256: 6c9d40923b934089682467724ed0b2b833c890cfcf6382ce39a293f11676b0b2

Contents?: true

Size: 373 Bytes

Versions: 28

Compression:

Stored size: 373 Bytes

Contents

class ChangeUmtNoteAnnotationsToDct < ActiveRecord::Migration
  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

28 entries across 28 versions & 1 rubygems

Version Path
iqvoc-4.12.1 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.12.0 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.11.1 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.11.0 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.10.0 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.9.0 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.3.3 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.8.2 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.8.1 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.8.0 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.7.0 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.6.1 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.5.2 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.6.0 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.5.1 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.5.0 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.4.0 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.3.2 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.3.1 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.3.0 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb