OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/db/migrate/20090401221305_update_enume...

11 lines
329 B

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