Page MenuHomePhorge

20180829183529_remove_recipients_to_and_cc_fields_from_activities.exs
No OneTemporary

Size
533 B
Referenced Files
None
Subscribers
None

20180829183529_remove_recipients_to_and_cc_fields_from_activities.exs

# 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.RemoveRecipientsToAndCcFieldsFromActivities do
use Ecto.Migration
def up do
alter table(:activities) do
remove(:recipients_to)
remove(:recipients_cc)
end
end
def down do
alter table(:activities) do
add(:recipients_to, {:array, :string})
add(:recipients_cc, {:array, :string})
end
end
end

File Metadata

Mime Type
text/x-ruby
Expires
Tue, Jan 20, 12:55 PM (11 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
966058
Default Alt Text
20180829183529_remove_recipients_to_and_cc_fields_from_activities.exs (533 B)

Event Timeline