Merge branch 'admin-create-users' into 'develop'
[akkoma] / priv / repo / migrations / 20180829183529_remove_recipients_to_and_cc_fields_from_activities.exs
1 defmodule Pleroma.Repo.Migrations.RemoveRecipientsToAndCcFieldsFromActivities do
2 use Ecto.Migration
3
4 def up do
5 alter table(:activities) do
6 remove :recipients_to
7 remove :recipients_cc
8 end
9 end
10
11 def down do
12 alter table(:activities) do
13 add :recipients_to, {:array, :string}
14 add :recipients_cc, {:array, :string}
15 end
16 end
17 end