Pleroma/lib/pleroma/web/websub/websub_server_subscription.ex
2017-04-20 17:47:33 +02:00

14 lines
294 B
Elixir

defmodule Pleroma.Web.Websub.WebsubServerSubscription do
use Ecto.Schema
schema "websub_server_subscriptions" do
field :topic, :string
field :callback, :string
field :secret, :string
field :valid_until, :naive_datetime
field :state, :string
timestamps()
end
end