##// END OF EJS Templates
Adds permission to edit and delete issues by role/tracker (#285)....
Adds permission to edit and delete issues by role/tracker (#285). git-svn-id: http://svn.redmine.org/redmine/trunk@15466 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r12213:0bc3ef5014dd
r15084:c4fd1750f703
Show More
20090401221305_update_enumerations_to_sti.rb
11 lines | 347 B | text/x-ruby | RubyLexer
/ db / migrate / 20090401221305_update_enumerations_to_sti.rb
Eric Davis
Changed Enumerations to use a Single Table Inheritance...
r2677 class UpdateEnumerationsToSti < ActiveRecord::Migration
def self.up
Toshi MARUYAMA
Rails4: replace deprecated Relation#update_all at db migrations...
r12213 Enumeration.where("opt = 'IPRI'").update_all("type = 'IssuePriority'")
Enumeration.where("opt = 'DCAT'").update_all("type = 'DocumentCategory'")
Enumeration.where("opt = 'ACTI'").update_all("type = 'TimeEntryActivity'")
Eric Davis
Changed Enumerations to use a Single Table Inheritance...
r2677 end
def self.down
# no-op
end
end