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