projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
d020614e13d28cf357ccfc381633987a905d80f5
[akkoma]
/
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_if_not_exists 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