Add ability to set a default post expiry (#321)
[akkoma] / priv / repo / migrations / 20170620133028_add_object_activity_index.exs
1 defmodule Pleroma.Repo.Migrations.AddObjectActivityIndex do
2 use Ecto.Migration
3
4 def change do
5 # This was wrong, now a noop
6 # create_if_not_exists index(:objects, ["(data->'object'->>'id')", "(data->>'type')"], name: :activities_create_objects_index)
7 end
8 end