projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "Merge branch 'revert-2b5d9eb1' into 'develop'"
[akkoma]
/
priv
/
repo
/
migrations
/
20170330153447_add_index_to_objects.exs
diff --git
a/priv/repo/migrations/20170330153447_add_index_to_objects.exs
b/priv/repo/migrations/20170330153447_add_index_to_objects.exs
index 30ed61f514b267537d25d8790c6a60426600dfe7..93198b4623f1fc2d4c67a3f75be09d89c60f527e 100644
(file)
--- a/
priv/repo/migrations/20170330153447_add_index_to_objects.exs
+++ b/
priv/repo/migrations/20170330153447_add_index_to_objects.exs
@@
-2,6
+2,6
@@
defmodule Pleroma.Repo.Migrations.AddIndexToObjects do
use Ecto.Migration
def change do
use Ecto.Migration
def change do
- create
index(:objects, [:data], using: :gin
)
+ create
_if_not_exists(index(:objects, [:data], using: :gin)
)
end
end
end
end