##// END OF EJS Templates
Adds issue visibility by role/tracker (#285)....
Adds issue visibility by role/tracker (#285). git-svn-id: http://svn.redmine.org/redmine/trunk@15465 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r12213:0bc3ef5014dd
r15083:a23450fe08f3
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