projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use indexed split_part/3 to get a hostname rather than ts_ functions
[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 b5ca2fc0fe4de405fca60d6f567e84e0939ef20b..e22c6e57d9321d07944b3a3f274db6b0167e9417 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_if_not_exists
index(:conversation_participations, ["updated_at desc"]
)
+ create_if_not_exists
(index(:conversation_participations, ["updated_at desc"])
)
end
end