6 lines
170 B
Ruby
6 lines
170 B
Ruby
class AddMissingIndexForAuthentications < ActiveRecord::Migration[4.2]
|
|
def change
|
|
add_index :authentications, [:provider, :member_id, :uid], unique: true
|
|
end
|
|
end
|