Add ability to set a default post expiry (#321)
[akkoma] / priv / repo / migrations / 20170330153447_add_index_to_objects.exs
1 defmodule Pleroma.Repo.Migrations.AddIndexToObjects do
2 use Ecto.Migration
3
4 def change do
5 create_if_not_exists(index(:objects, [:data], using: :gin))
6 end
7 end