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

This commit is contained in:
lain 2020-08-17 14:11:36 +02:00
parent 014f91c1c3
commit 5ea752dab2
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
defmodule Pleroma.Repo.Migrations.AddInvisibleIndexToUsers do
use Ecto.Migration
def change do
create(index(:users, [:invisible]))
end
end