Migrations: Add an index on the invisible
field on users.
This commit is contained in:
parent
014f91c1c3
commit
5ea752dab2
1 changed files with 7 additions and 0 deletions
|
@ -0,0 +1,7 @@
|
||||||
|
defmodule Pleroma.Repo.Migrations.AddInvisibleIndexToUsers do
|
||||||
|
use Ecto.Migration
|
||||||
|
|
||||||
|
def change do
|
||||||
|
create(index(:users, [:invisible]))
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue