mirror of
https://git.rape.pet/ulith/amputoma.git
synced 2025-02-24 13:43:59 +01:00
Index users by ap_id.
This commit is contained in:
parent
fcd34096db
commit
ff2945dfdc
1 changed files with 7 additions and 0 deletions
|
@ -0,0 +1,7 @@
|
||||||
|
defmodule Pleroma.Repo.Migrations.AddUniqueIndexToAPID do
|
||||||
|
use Ecto.Migration
|
||||||
|
|
||||||
|
def change do
|
||||||
|
create unique_index(:users, [:ap_id])
|
||||||
|
end
|
||||||
|
end
|
Loading…
Add table
Reference in a new issue