blob: 65576b8d5cde7e53b2305f2f7cc977e6886c1ab9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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
|