1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
5 defmodule Pleroma.Repo.Migrations.RemoveRecipientsToAndCcFieldsFromActivities do
9 alter table(:activities) do
10 remove(:recipients_to)
11 remove(:recipients_cc)
16 alter table(:activities) do
17 add(:recipients_to, {:array, :string})
18 add(:recipients_cc, {:array, :string})