Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33102417
20170912114248_add_context_index.exs
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
454 B
Referenced Files
None
Subscribers
None
20170912114248_add_context_index.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.AddContextIndex
do
use
Ecto.Migration
@disable_ddl_transaction
true
def
change
do
create
(
index
(
:activities
,
[
"(data->>'type')"
,
"(data->>'context')"
],
name
:
:activities_context_index
,
concurrently
:
true
)
)
end
end
File Metadata
Details
Attached
Mime Type
text/x-ruby
Expires
Tue, Jan 20, 1:08 PM (3 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
969024
Default Alt Text
20170912114248_add_context_index.exs (454 B)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline
Log In to Comment