projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'refactor/subscription' into 'develop'
[akkoma]
/
priv
/
repo
/
migrations
/
20190410152859_add_participation_updated_at_index.exs
diff --git
a/priv/repo/migrations/20190410152859_add_participation_updated_at_index.exs
b/priv/repo/migrations/20190410152859_add_participation_updated_at_index.exs
index 1ce688c52348cf16886414c45799952c661049f6..b5ca2fc0fe4de405fca60d6f567e84e0939ef20b 100644
(file)
--- a/
priv/repo/migrations/20190410152859_add_participation_updated_at_index.exs
+++ b/
priv/repo/migrations/20190410152859_add_participation_updated_at_index.exs
@@
-2,6
+2,6
@@
defmodule Pleroma.Repo.Migrations.AddParticipationUpdatedAtIndex do
use Ecto.Migration
def change do
- create index(:conversation_participations, ["updated_at desc"])
+ create
_if_not_exists
index(:conversation_participations, ["updated_at desc"])
end
end