summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-08-17 12:38:14 +0000
committerrinpatch <rinpatch@sdf.org>2020-08-17 12:38:14 +0000
commitf06444a2892a2c3d6e764488958e2f3cf259be29 (patch)
tree41fc36942a4173a013f07807ba2c310cda06c9e4 /priv
parente154fcf5258879c68fd7bd9fddd56d3dcb787826 (diff)
parent5ea752dab2c5b0aab7efff67e2d007273d534da6 (diff)
Merge branch 'invisible-index' into 'develop'
Migrations: Add an index on the `invisible` field on users. See merge request pleroma/pleroma!2895
Diffstat (limited to 'priv')
-rw-r--r--priv/repo/migrations/20200817120935_add_invisible_index_to_users.exs7
1 files 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
new file mode 100644
index 000000000..2417d366e
--- /dev/null
+++ 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