Add index to objects.
This commit is contained in:
parent
73df2f8e5e
commit
40eb0e4c24
1 changed files with 7 additions and 0 deletions
|
@ -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