add sort index for activities
This commit is contained in:
parent
9e60de695d
commit
ccde03285d
@ -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 New Issue
Block a user