blob: 18be0b44be42a2a50c972dc1dc37ac674e387466 (
plain)
1
2
3
4
5
6
7
8
9
|
class AddMissingIndexesToCustomFields < ActiveRecord::Migration
def self.up
add_index :custom_fields, [:id, :type]
end
def self.down
remove_index :custom_fields, :column => [:id, :type]
end
end
|