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