2018-05-13 04:54:08 -06:00
|
|
|
defmodule Pleroma.Repo.Migrations.ModifyActivityIndex do
|
|
|
|
use Ecto.Migration
|
|
|
|
|
|
|
|
def change do
|
2024-06-18 18:05:38 -06:00
|
|
|
create(index(:activities, ["id desc nulls last", "local"]))
|
2019-10-08 06:16:39 -06:00
|
|
|
drop_if_exists(index(:activities, ["id desc nulls last"]))
|
2018-05-13 04:54:08 -06:00
|
|
|
end
|
|
|
|
end
|