pleroma/priv/repo/migrations/20190825225451_add_recipient_users_to_activities.exs
2019-08-25 23:26:10 +00:00

12 lines
279 B
Elixir

defmodule Pleroma.Repo.Migrations.AddRecipientUsersToActivities do
use Ecto.Migration
def change do
alter table(:activities) do
add :recipient_users, {:array, :string}
end
create_if_not_exists index(:activities, [:recipient_users], using: :gin)
end
end