mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2024-12-27 21:25:20 +01:00
Migrations: Add an index on the invisible
field on users.
This commit is contained in:
parent
014f91c1c3
commit
5ea752dab2
@ -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 New Issue
Block a user