Add index to objects.

This commit is contained in:
Roger Braun 2017-03-30 18:06:43 +02:00
parent 73df2f8e5e
commit 40eb0e4c24
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
defmodule Pleroma.Repo.Migrations.AddIndexToObjects do
use Ecto.Migration
def change do
create index(:objects, [:data], using: :gin)
end
end