mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-11 03:39:13 +00:00
14 lines
320 B
Elixir
14 lines
320 B
Elixir
|
defmodule Pleroma.Web.Websub.WebsubClientSubscription do
|
||
|
use Ecto.Schema
|
||
|
|
||
|
schema "websub_client_subscriptions" do
|
||
|
field :topic, :string
|
||
|
field :secret, :string
|
||
|
field :valid_until, :naive_datetime
|
||
|
field :state, :string
|
||
|
field :subscribers, {:array, :string}, default: []
|
||
|
|
||
|
timestamps()
|
||
|
end
|
||
|
end
|