mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-24 07:16:18 +00:00
14 lines
299 B
Elixir
14 lines
299 B
Elixir
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
|