mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 11:28:18 +00:00
Certain DBs have duplicates already, if we want to ensure uniqueness here we need to decide first how to clean up existing data and confirm all the plugins expect this.
8 lines
172 B
Ruby
8 lines
172 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddIndexToOauth2UserInfo < ActiveRecord::Migration[6.0]
|
|
def change
|
|
add_index :oauth2_user_infos, [:user_id, :provider]
|
|
end
|
|
end
|