Commit acba7043 authored by lain's avatar lain

Migrations: Add index on client_id and client_secret for apps.

Greatly speeds up app lookup.
parent 644195e3
defmodule Pleroma.Repo.Migrations.AddAppsIndexes do
use Ecto.Migration
def change do
create(index(:apps, [:client_id, :client_secret]))
Markdown is supported
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