Update activity
This commit is contained in:
parent
144bfb57e2
commit
4640e3a36b
2 changed files with 4 additions and 4 deletions
|
@ -11,8 +11,8 @@ defmodule Nulla.Models.Activity do
|
|||
field :type, :string
|
||||
field :actor, :string
|
||||
field :object, :string
|
||||
field :to, :string
|
||||
field :cc, :string
|
||||
field :to, {:array, :string}
|
||||
field :cc, {:array, :string}
|
||||
|
||||
timestamps()
|
||||
end
|
||||
|
|
|
@ -8,8 +8,8 @@ defmodule Nulla.Repo.Migrations.CreateActivities do
|
|||
add :type, :string, null: false
|
||||
add :actor, :string, null: false
|
||||
add :object, :text, null: false
|
||||
add :to, :text
|
||||
add :cc, :text
|
||||
add :to, {:array, :string}
|
||||
add :cc, {:array, :string}
|
||||
|
||||
timestamps()
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue