Browse Source

Index users by ap_id.

tags/v0.9.9
Roger Braun 7 years ago
parent
commit
ff2945dfdc
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      priv/repo/migrations/20170506222027_add_unique_index_to_apid.exs

+ 7
- 0
priv/repo/migrations/20170506222027_add_unique_index_to_apid.exs View File

@@ -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…
Cancel
Save