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