pleroma/priv/repo/migrations/20170501124823_add_id_contr...

10 lines
335 B
Elixir
Raw Normal View History

2017-05-01 14:54:58 +02:00
defmodule Pleroma.Repo.Migrations.AddIdContraintsToActivitiesAndObjects do
use Ecto.Migration
def change do
2017-09-17 00:01:49 +02:00
# This was wrong, make it a noop.
# create index(:objects, ["(data->>\"id\")"], name: :objects_unique_apid_index)
# create index(:activities, ["(data->>\"id\")"], name: :activities_unique_apid_index)
2017-05-01 14:54:58 +02:00
end
end