projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
added hyper:// to default protocols
[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_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