logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma
commit: 5ad28ff405d0d5efc794e0e1f20091164ca82ea8
parent: ed08da9135e230ec67636a31f452c7ec31b9e79f
Author: rinpatch <rinpatch@sdf.org>
Date:   Tue, 26 May 2020 15:56:23 +0000

Merge branch 'apps-index' into 'develop'

Migrations: Add index on client_id and client_secret for apps.

See merge request pleroma/pleroma!2589

Diffstat:

Apriv/repo/migrations/20200526144426_add_apps_indexes.exs7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/priv/repo/migrations/20200526144426_add_apps_indexes.exs b/priv/repo/migrations/20200526144426_add_apps_indexes.exs @@ -0,0 +1,7 @@ +defmodule Pleroma.Repo.Migrations.AddAppsIndexes do + use Ecto.Migration + + def change do + create(index(:apps, [:client_id, :client_secret])) + end +end