Merge branch 'develop' into feature/digest-email
[akkoma] / priv / repo / migrations / 20170426154155_create_websub_client_subscription.exs
1 defmodule Pleroma.Repo.Migrations.CreateWebsubClientSubscription do
2 use Ecto.Migration
3
4 def change do
5 create table(:websub_client_subscriptions) do
6 add :topic, :string
7 add :secret, :string
8 add :valid_until, :naive_datetime_usec
9 add :state, :string
10 add :subscribers, :map
11
12 timestamps()
13 end
14 end
15 end