forked from mirrors/akkoma
add sort index for activities
This commit is contained in:
parent
9e60de695d
commit
ccde03285d
1 changed files with 8 additions and 0 deletions
|
@ -0,0 +1,8 @@
|
||||||
|
defmodule Pleroma.Repo.Migrations.AddSortIndexToActivities do
|
||||||
|
use Ecto.Migration
|
||||||
|
@disable_ddl_transaction true
|
||||||
|
|
||||||
|
def change do
|
||||||
|
create index(:activities, ["id desc nulls last"], concurrently: true)
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue