mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 03:17:51 +00:00
[#923] Enabled binding of multiple OAuth provider accounts to single user.
This commit is contained in:
parent
20e0f36605
commit
642075b1a9
1 changed files with 1 additions and 1 deletions
|
@ -13,6 +13,6 @@ defmodule Pleroma.Repo.Migrations.CreateRegistrations do
|
|||
end
|
||||
|
||||
create unique_index(:registrations, [:provider, :uid])
|
||||
create unique_index(:registrations, [:user_id, :provider])
|
||||
create unique_index(:registrations, [:user_id, :provider, :uid])
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue