mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-09-08 20:58:28 +00:00
9 lines
335 B
Elixir
9 lines
335 B
Elixir
defmodule Pleroma.Repo.Migrations.AddIdContraintsToActivitiesAndObjects do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
# 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)
|
|
end
|
|
end
|