blob: 361efbd5d0eb1e37584f8672bb3576208d9a8bb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Pleroma: A lightweight social networking server
# Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
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
|