spc-pleroma/lib/pleroma/web/websub/websub_server_subscription.ex

14 lines
299 B
Elixir
Raw Normal View History

2017-04-20 08:16:06 +00:00
defmodule Pleroma.Web.Websub.WebsubServerSubscription do
use Ecto.Schema
schema "websub_server_subscriptions" do
2018-03-30 13:01:53 +00:00
field(:topic, :string)
field(:callback, :string)
field(:secret, :string)
field(:valid_until, :naive_datetime)
field(:state, :string)
2017-04-20 15:47:33 +00:00
timestamps()
2017-04-20 08:16:06 +00:00
end
end