schema "activities" do
field :data, :map
field :local, :boolean, default: true
- has_many :notifications, Notification
+ field :actor, :string
+ field :recipients, {:array, :string}
+ has_many :notifications, Notification, on_delete: :delete_all
timestamps()
end