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