Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
11
db/migrate/20090401221305_update_enumerations_to_sti.rb
Normal file
11
db/migrate/20090401221305_update_enumerations_to_sti.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue