blob: c7a25ea227b49fc03909268c77dfb5e8d36dcb21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
defmodule Pleroma.Web.Websub.WebsubClientSubscription do
use Ecto.Schema
alias Pleroma.User
schema "websub_client_subscriptions" do
field :topic, :string
field :secret, :string
field :valid_until, :naive_datetime
field :state, :string
field :subscribers, {:array, :string}, default: []
field :hub, :string
belongs_to :user, User
timestamps()
end
end
|