forked from AkkomaGang/akkoma
12 lines
304 B
Elixir
12 lines
304 B
Elixir
defmodule Pleroma.Repo.Migrations.AddAuthProviderAndAuthProviderUidToUsers do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
alter table(:users) do
|
|
add :auth_provider, :string
|
|
add :auth_provider_uid, :string
|
|
end
|
|
|
|
create unique_index(:users, [:auth_provider, :auth_provider_uid])
|
|
end
|
|
end
|