summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorRoman Chvanikov <roman@Romans-MacBook-Pro-2.local>2019-06-05 02:45:21 +0300
committerRoman Chvanikov <roman@Romans-MacBook-Pro-2.local>2019-06-05 02:45:21 +0300
commitb1b1a270e8f17b76d08771ca1e4025b1d227da05 (patch)
tree41a5896012a3f55f3de31f7ec97dc397ba02cd62 /priv
parentf6036ce3b9649902ce1c2af819616ad25f0caef1 (diff)
parent5188add534a1532ef323a0fec3503f8e96dfe762 (diff)
downloadpleroma-b1b1a270e8f17b76d08771ca1e4025b1d227da05.tar.gz
pleroma-b1b1a270e8f17b76d08771ca1e4025b1d227da05.zip
Fix conflict
Diffstat (limited to 'priv')
-rw-r--r--priv/repo/migrations/20190603162018_add_object_in_reply_to_index.exs7
1 files changed, 7 insertions, 0 deletions
diff --git a/priv/repo/migrations/20190603162018_add_object_in_reply_to_index.exs b/priv/repo/migrations/20190603162018_add_object_in_reply_to_index.exs
new file mode 100644
index 000000000..df4ac7782
--- /dev/null
+++ b/priv/repo/migrations/20190603162018_add_object_in_reply_to_index.exs
@@ -0,0 +1,7 @@
+defmodule Pleroma.Repo.Migrations.AddObjectInReplyToIndex do
+ use Ecto.Migration
+
+ def change do
+ create index(:objects, ["(data->>'inReplyTo')"], name: :objects_in_reply_to_index)
+ end
+end