1
0
Mirror von https://github.com/redmine/redmine.git synchronisiert 2024-08-26 05:57:38 +02:00
redmine/db/migrate/20090401221305_update_enumerations_to_sti.rb

12 Zeilen
329 B
Ruby

class UpdateEnumerationsToSti < ActiveRecord::Migration
def self.up
Enumeration.update_all("type = 'IssuePriority'", "opt = 'IPRI'")
Enumeration.update_all("type = 'DocumentCategory'", "opt = 'DCAT'")
Enumeration.update_all("type = 'TimeEntryActivity'", "opt = 'ACTI'")
end
def self.down
# no-op
end
end