diff options
author | rinpatch <rinpatch@sdf.org> | 2020-05-26 15:56:23 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-05-26 15:56:23 +0000 |
commit | 5ad28ff405d0d5efc794e0e1f20091164ca82ea8 (patch) | |
tree | 2548bd1ec0836800a85d723a4972fb89d6dd68d5 | |
parent | ed08da9135e230ec67636a31f452c7ec31b9e79f (diff) | |
parent | acba7043be4256976b4026e1b331c38842ec0e86 (diff) | |
download | pleroma-5ad28ff405d0d5efc794e0e1f20091164ca82ea8.tar.gz |
Merge branch 'apps-index' into 'develop'
Migrations: Add index on client_id and client_secret for apps.
See merge request pleroma/pleroma!2589
-rw-r--r-- | priv/repo/migrations/20200526144426_add_apps_indexes.exs | 7 |
1 files 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 new file mode 100644 index 000000000..5cb6a0473 --- /dev/null +++ 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 |