mirror of
https://github.com/redmine/redmine.git
synced 2025-11-05 04:45:57 +01:00
12 lines
329 B
Ruby
12 lines
329 B
Ruby
|
|
class UpdateEnumerationsToSti < ActiveRecord::Migration
|
||
|
|
def self.up
|
||
|
|
Enumeration.update_all("type = 'IssuePriority'", "opt = 'IPRI'")
|
||
|
|
Enumeration.update_all("type = 'DocumentCategory'", "opt = 'DCAT'")
|
||
|
|
Enumeration.update_all("type = 'TimeEntryActivity'", "opt = 'ACTI'")
|
||
|
|
end
|
||
|
|
|
||
|
|
def self.down
|
||
|
|
# no-op
|
||
|
|
end
|
||
|
|
end
|