diff options
author | lain <lain@soykaf.club> | 2020-08-17 14:11:36 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-08-17 14:11:36 +0200 |
commit | 5ea752dab2c5b0aab7efff67e2d007273d534da6 (patch) | |
tree | 35be94d9c06582a267862d030d7535496fa4caa3 | |
parent | 014f91c1c3504d7e1f4407491d42223c79c0de05 (diff) | |
download | pleroma-5ea752dab2c5b0aab7efff67e2d007273d534da6.tar.gz |
Migrations: Add an index on the `invisible` field on users.
-rw-r--r-- | priv/repo/migrations/20200817120935_add_invisible_index_to_users.exs | 7 |
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 |