logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma

websub_server_subscription.ex (458B)


      1 # Pleroma: A lightweight social networking server
      2 # Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
      3 # SPDX-License-Identifier: AGPL-3.0-only
      4 
      5 defmodule Pleroma.Web.Websub.WebsubServerSubscription do
      6   use Ecto.Schema
      7 
      8   schema "websub_server_subscriptions" do
      9     field(:topic, :string)
     10     field(:callback, :string)
     11     field(:secret, :string)
     12     field(:valid_until, :naive_datetime)
     13     field(:state, :string)
     14 
     15     timestamps()
     16   end
     17 end