##// END OF EJS Templates
tagged version 2.6.10...
tagged version 2.6.10 git-svn-id: http://svn.redmine.org/redmine/tags/2.6.10@15242 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r12213:0bc3ef5014dd
r14860:c8e7b7a1af45 2.6.10
Show More
20090401221305_update_enumerations_to_sti.rb
11 lines | 347 B | text/x-ruby | RubyLexer
/ db / migrate / 20090401221305_update_enumerations_to_sti.rb
class UpdateEnumerationsToSti < ActiveRecord::Migration
def self.up
Enumeration.where("opt = 'IPRI'").update_all("type = 'IssuePriority'")
Enumeration.where("opt = 'DCAT'").update_all("type = 'DocumentCategory'")
Enumeration.where("opt = 'ACTI'").update_all("type = 'TimeEntryActivity'")
end
def self.down
# no-op
end
end