Commit 3c7f5bb1 authored by lain's avatar lain
Browse files

Merge branch 'fix/add-oauth-token-indexes' into 'develop'

adding indexes to oauth_tokens table

See merge request !1016
parents c900ff39 86f90c0a
Pipeline #9966 passed with stages
in 4 minutes
defmodule Pleroma.Repo.Migrations.AddOauthTokenIndexes do
use Ecto.Migration
def change do
create(unique_index(:oauth_tokens, [:token]))
create(index(:oauth_tokens, [:app_id]))
create(index(:oauth_tokens, [:user_id]))
end
end
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment