Add user and hub to websub client subscriptions.
This commit is contained in:
parent
d1dce56a85
commit
e8a311ecff
2 changed files with 13 additions and 0 deletions
10
priv/repo/migrations/20170427054757_add_user_and_hub.exs
Normal file
10
priv/repo/migrations/20170427054757_add_user_and_hub.exs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
defmodule Pleroma.Repo.Migrations.AddUserAndHub do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
alter table(:websub_client_subscriptions) do
|
||||
add :hub, :string
|
||||
add :user_id, references(:users)
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue