##// END OF EJS Templates
Limit trackers for new issue to certain roles (#7839)....
Limit trackers for new issue to certain roles (#7839). git-svn-id: http://svn.redmine.org/redmine/trunk@15464 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r12213:0bc3ef5014dd
r15082:79df68e17fc0
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