projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'feature/update-labels-for-activating-settings' into 'develop'
[akkoma]
/
priv
/
repo
/
migrations
/
20190823000549_add_likes_index_to_objects.exs
diff --git
a/priv/repo/migrations/20190823000549_add_likes_index_to_objects.exs
b/priv/repo/migrations/20190823000549_add_likes_index_to_objects.exs
index 13f3d6e8375ba5b30ff8c0e3699e6ebfe52d4e4a..c410dcdc23f4d9f58a7dd26ae968e4d40e38f2c1 100644
(file)
--- a/
priv/repo/migrations/20190823000549_add_likes_index_to_objects.exs
+++ b/
priv/repo/migrations/20190823000549_add_likes_index_to_objects.exs
@@
-2,6
+2,6
@@
defmodule Pleroma.Repo.Migrations.AddLikesIndexToObjects do
use Ecto.Migration
def change do
- create_if_not_exists
index(:objects, ["(data->'likes')"], using: :gin, name: :objects_likes
)
+ create_if_not_exists
(index(:objects, ["(data->'likes')"], using: :gin, name: :objects_likes)
)
end
end