Add index to objects.
This commit is contained in:
parent
73df2f8e5e
commit
40eb0e4c24
|
@ -0,0 +1,7 @@
|
|||
defmodule Pleroma.Repo.Migrations.AddIndexToObjects do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
create index(:objects, [:data], using: :gin)
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue