projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into 1507-static-fe...
[akkoma]
/
priv
/
repo
/
migrations
/
20170426154155_create_websub_client_subscription.exs
diff --git
a/priv/repo/migrations/20170426154155_create_websub_client_subscription.exs
b/priv/repo/migrations/20170426154155_create_websub_client_subscription.exs
index 4b79d7506203ef15067a1dfa47d32d72458e568c..d020614e13d28cf357ccfc381633987a905d80f5 100644
(file)
--- a/
priv/repo/migrations/20170426154155_create_websub_client_subscription.exs
+++ b/
priv/repo/migrations/20170426154155_create_websub_client_subscription.exs
@@
-3,11
+3,11
@@
defmodule Pleroma.Repo.Migrations.CreateWebsubClientSubscription do
def change do
create_if_not_exists table(:websub_client_subscriptions) do
def change do
create_if_not_exists table(:websub_client_subscriptions) do
- add
:topic, :string
- add
:secret, :string
- add
:valid_until, :naive_datetime_usec
- add
:state, :string
- add
:subscribers, :map
+ add
(:topic, :string)
+ add
(:secret, :string)
+ add
(:valid_until, :naive_datetime_usec)
+ add
(:state, :string)
+ add
(:subscribers, :map)
timestamps()
end
timestamps()
end