Pleroma/lib/pleroma/web/websub/websub_server_subscription.ex

18 lines
458 B
Elixir
Raw Normal View History

# Pleroma: A lightweight social networking server
2018-12-31 16:41:47 +01:00
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
2017-04-20 10:16:06 +02:00
defmodule Pleroma.Web.Websub.WebsubServerSubscription do
use Ecto.Schema
schema "websub_server_subscriptions" do
2018-03-30 15:01:53 +02:00
field(:topic, :string)
field(:callback, :string)
field(:secret, :string)
field(:valid_until, :naive_datetime)
field(:state, :string)
2017-04-20 17:47:33 +02:00
timestamps()
2017-04-20 10:16:06 +02:00
end
end