mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-05 08:03:11 +00:00
18 lines
458 B
Elixir
18 lines
458 B
Elixir
# Pleroma: A lightweight social networking server
|
|
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
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
|