Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F162699
20170501124823_add_id_contraints_to_activities_and_objects.exs
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
494 B
Referenced Files
None
Subscribers
None
20170501124823_add_id_contraints_to_activities_and_objects.exs
View Options
# 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
File Metadata
Details
Attached
Mime Type
text/x-ruby
Expires
Fri, Feb 21, 5:41 PM (13 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
66777
Default Alt Text
20170501124823_add_id_contraints_to_activities_and_objects.exs (494 B)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline
Log In to Comment