mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-09-17 00:50:05 +00:00
7 lines
148 B
Elixir
7 lines
148 B
Elixir
defmodule Pleroma.Repo.Migrations.AddUniqueIndexToAPID do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
create unique_index(:users, [:ap_id])
|
|
end
|
|
end
|