diff options
| author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-08-24 09:29:54 +0300 |
|---|---|---|
| committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-08-24 09:29:54 +0300 |
| commit | c34126f89ca58141cc927bddc2474bef76ea1575 (patch) | |
| tree | 12053338f288a5fa7da00d70130f355036883bd8 /priv | |
| parent | 71700ea6d4104ecd2cc0afb0ac103e722b30fbb5 (diff) | |
| parent | bc78a875c86db42d67122cfb767f239a55dacbea (diff) | |
| download | pleroma-c34126f89ca58141cc927bddc2474bef76ea1575.tar.gz pleroma-c34126f89ca58141cc927bddc2474bef76ea1575.zip | |
Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
Diffstat (limited to 'priv')
| -rw-r--r-- | priv/repo/migrations/20190823000549_add_likes_index_to_objects.exs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/priv/repo/migrations/20190823000549_add_likes_index_to_objects.exs b/priv/repo/migrations/20190823000549_add_likes_index_to_objects.exs new file mode 100644 index 000000000..13f3d6e83 --- /dev/null +++ b/priv/repo/migrations/20190823000549_add_likes_index_to_objects.exs @@ -0,0 +1,7 @@ +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) + end +end |
