summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20190501133552_add_refresh_token_index_to_token.exs
blob: 44a2669853cafa0f3508cceb4444e36eef3da6c7 (plain)
1
2
3
4
5
6
7
defmodule Pleroma.Repo.Migrations.AddRefreshTokenIndexToToken do
  use Ecto.Migration

  def change do
    create_if_not_exists(unique_index(:oauth_tokens, [:refresh_token]))
  end
end