Fix an issue with default bot type value

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-04-08 10:04:06 +02:00
parent 1a43bfb620
commit 00c8be4d8c
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -23,7 +23,7 @@ defmodule Mobilizon.Actors.Bot do
schema "bots" do schema "bots" do
field(:source, :string) field(:source, :string)
field(:type, :string, default: :ics) field(:type, :string, default: "ics")
belongs_to(:actor, Actor) belongs_to(:actor, Actor)
belongs_to(:user, User) belongs_to(:user, User)