mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-27 16:24:23 +00:00
9 lines
288 B
Elixir
9 lines
288 B
Elixir
|
defmodule Pleroma.Repo.Migrations.ActivitiesAddToCcIndices do
|
||
|
use Ecto.Migration
|
||
|
|
||
|
def change do
|
||
|
create index(:activities, ["(data->'to')"], name: :activities_to_index, using: :gin)
|
||
|
create index(:activities, ["(data->'cc')"], name: :activities_cc_index, using: :gin)
|
||
|
end
|
||
|
end
|