Browse Source

Merge branch 'apps-index' into 'develop'

Migrations: Add index on client_id and client_secret for apps.

See merge request pleroma/pleroma!2589
fix/http_secury_plug
rinpatch 4 years ago
parent
commit
5ad28ff405
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      priv/repo/migrations/20200526144426_add_apps_indexes.exs

+ 7
- 0
priv/repo/migrations/20200526144426_add_apps_indexes.exs View File

@@ -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

Loading…
Cancel
Save