2017-04-20 02:16:06 -06:00
|
|
|
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
|
2017-04-20 09:47:33 -06:00
|
|
|
|
|
|
|
timestamps()
|
2017-04-20 02:16:06 -06:00
|
|
|
end
|
|
|
|
end
|