blob: 95cafb01fea4e5312d0b59379986c9b52284118c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
defmodule Pleroma.Repo.Migrations.AddRecipientsToAndCcFieldsToActivities do
use Ecto.Migration
def change do
alter table(:activities) do
add(:recipients_to, {:array, :string})
add(:recipients_cc, {:array, :string})
end
# create_if_not_exists(index(:activities, [:recipients_to], using: :gin))
# create_if_not_exists(index(:activities, [:recipients_cc], using: :gin))
end
end
|