summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20170506222027_add_unique_index_to_apid.exs
blob: 864b5e47dab81fb64ee94c6163d2e2e40e8f67d0 (plain)
1
2
3
4
5
6
7
defmodule Pleroma.Repo.Migrations.AddUniqueIndexToAPID do
  use Ecto.Migration

  def change do
    create unique_index(:users, [:ap_id])
  end
end