normalise markup by default (#316)
[akkoma] / priv / repo / migrations / 20180513104714_modify_activity_index.exs
1 defmodule Pleroma.Repo.Migrations.ModifyActivityIndex do
2 use Ecto.Migration
3 @disable_ddl_transaction true
4
5 def change do
6 create(index(:activities, ["id desc nulls last", "local"], concurrently: true))
7 drop_if_exists(index(:activities, ["id desc nulls last"]))
8 end
9 end