Sha256: 99b636fea10aae2b730a08b9ea0686b664564f8aae5f8620542caae11499cc0f

Contents?: true

Size: 373 Bytes

Versions: 30

Compression:

Stored size: 373 Bytes

Contents

class ChangeUmtNoteAnnotationsToDct < ActiveRecord::Migration
  def self.up
    Note::Annotated::Base.update_all({:namespace => "dct", :predicate => "creator"}, {:namespace => "umt", :predicate => "editor"})
  end

  def self.down
    Note::Annotated::Base.update_all({:namespace => "umt", :predicate => "editor"}, {:namespace => "dct", :predicate => "creator"})
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
iqvoc-3.2.11 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-3.2.10 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-3.2.9 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.0.6 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.0.5 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.0.4 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.0.3 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.0.2 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-3.2.8 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.0.1 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-4.0.0 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-3.5.7 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-3.5.6 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-3.5.5 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-3.5.4 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-3.2.7 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-3.5.3 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-3.5.2 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-3.5.1 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
iqvoc-3.5.0 db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb