logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma
commit: f06444a2892a2c3d6e764488958e2f3cf259be29
parent: e154fcf5258879c68fd7bd9fddd56d3dcb787826
Author: rinpatch <rinpatch@sdf.org>
Date:   Mon, 17 Aug 2020 12:38:14 +0000

Merge branch 'invisible-index' into 'develop'

Migrations: Add an index on the `invisible` field on users.

See merge request pleroma/pleroma!2895

Diffstat:

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

diff --git a/priv/repo/migrations/20200817120935_add_invisible_index_to_users.exs b/priv/repo/migrations/20200817120935_add_invisible_index_to_users.exs @@ -0,0 +1,7 @@ +defmodule Pleroma.Repo.Migrations.AddInvisibleIndexToUsers do + use Ecto.Migration + + def change do + create(index(:users, [:invisible])) + end +end