summaryrefslogtreecommitdiffstats
path: root/db/migrate/20091017213257_add_missing_indexes_to_auth_sources.rb
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