镜像自地址
https://github.com/redmine/redmine.git
已同步 2024-08-07 09:06:32 +02:00
10 行
209 B
Ruby
10 行
209 B
Ruby
|
class AddMissingIndexesToEnumerations < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
add_index :enumerations, [:id, :type]
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
remove_index :enumerations, :column => [:id, :type]
|
||
|
end
|
||
|
end
|