summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2019-04-08 14:10:43 +0200
committerlain <lain@soykaf.club>2019-04-08 14:10:43 +0200
commit5d871173d189a0019fda0ee76f8a324d90a163ee (patch)
treec3e423993ff5289dd0ba73a94881bd52d9cda1c2 /priv
parent037fefe21871ee0a1926286c87c334ea1d339394 (diff)
parentaac48d0cc6893c231c88d5cd7fe0334353bbf299 (diff)
downloadpleroma-5d871173d189a0019fda0ee76f8a324d90a163ee.tar.gz
pleroma-5d871173d189a0019fda0ee76f8a324d90a163ee.zip
Merge branch 'features/mastoapi/2.6.0-conversations' of git.pleroma.social:pleroma/pleroma into features/mastoapi/2.6.0-conversations
Diffstat (limited to 'priv')
-rw-r--r--priv/repo/migrations/20190325185009_create_notification_id_index.exs7
1 files changed, 7 insertions, 0 deletions
diff --git a/priv/repo/migrations/20190325185009_create_notification_id_index.exs b/priv/repo/migrations/20190325185009_create_notification_id_index.exs
new file mode 100644
index 000000000..a6ab38d02
--- /dev/null
+++ b/priv/repo/migrations/20190325185009_create_notification_id_index.exs
@@ -0,0 +1,7 @@
+defmodule Pleroma.Repo.Migrations.CreateNotificationIdIndex do
+ use Ecto.Migration
+
+ def change do
+ create index(:notifications, ["id desc nulls last"])
+ end
+end