projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' into fix/disable-rate-limiter-for-socket-localhost
[akkoma]
/
priv
/
repo
/
migrations
/
20190325185009_create_notification_id_index.exs
diff --git
a/priv/repo/migrations/20190325185009_create_notification_id_index.exs
b/priv/repo/migrations/20190325185009_create_notification_id_index.exs
index a6ab38d02a1d3564c0078aa01cdab9fa92d9e4d8..7209c16a977bc24f8b95d74fa0fece8c8d0019cb 100644
(file)
--- a/
priv/repo/migrations/20190325185009_create_notification_id_index.exs
+++ b/
priv/repo/migrations/20190325185009_create_notification_id_index.exs
@@
-2,6
+2,6
@@
defmodule Pleroma.Repo.Migrations.CreateNotificationIdIndex do
use Ecto.Migration
def change do
use Ecto.Migration
def change do
-
create index(:notifications, ["id desc nulls last"]
)
+
create_if_not_exists(index(:notifications, ["id desc nulls last"])
)
end
end
end
end