summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20200804183107_add_unique_index_to_app_client_id.exs
blob: 83de18096da0a5ccf4cf42cdf4ceda808d8caf5c (plain)
1
2
3
4
5
6
7
defmodule Pleroma.Repo.Migrations.AddUniqueIndexToAppClientId do
  use Ecto.Migration

  def change do
    create(unique_index(:apps, [:client_id]))
  end
end