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

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