Update activity

This commit is contained in:
Mirai Kumiko 2025-06-29 23:16:01 +02:00
parent 144bfb57e2
commit 4640e3a36b
Signed by: miraikumiko
GPG key ID: 3F178B1B5E0CB278
2 changed files with 4 additions and 4 deletions

View file

@ -11,8 +11,8 @@ defmodule Nulla.Models.Activity do
field :type, :string field :type, :string
field :actor, :string field :actor, :string
field :object, :string field :object, :string
field :to, :string field :to, {:array, :string}
field :cc, :string field :cc, {:array, :string}
timestamps() timestamps()
end end

View file

@ -8,8 +8,8 @@ defmodule Nulla.Repo.Migrations.CreateActivities do
add :type, :string, null: false add :type, :string, null: false
add :actor, :string, null: false add :actor, :string, null: false
add :object, :text, null: false add :object, :text, null: false
add :to, :text add :to, {:array, :string}
add :cc, :text add :cc, {:array, :string}
timestamps() timestamps()
end end