Refactor, add beginnings of websub client subscriptions.

This commit is contained in:
Roger Braun 2017-04-26 18:33:10 +02:00
commit c5fa682c31
6 changed files with 93 additions and 7 deletions

View file

@ -0,0 +1,15 @@
defmodule Pleroma.Repo.Migrations.CreateWebsubClientSubscription do
use Ecto.Migration
def change do
create table(:websub_client_subscriptions) do
add :topic, :string
add :secret, :string
add :valid_until, :naive_datetime
add :state, :string
add :subscribers, :map
timestamps()
end
end
end