diff options
Diffstat (limited to 'priv/repo/migrations/20170427054757_add_user_and_hub.exs')
-rw-r--r-- | priv/repo/migrations/20170427054757_add_user_and_hub.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/repo/migrations/20170427054757_add_user_and_hub.exs b/priv/repo/migrations/20170427054757_add_user_and_hub.exs index f33a8572f..1678cf001 100644 --- a/priv/repo/migrations/20170427054757_add_user_and_hub.exs +++ b/priv/repo/migrations/20170427054757_add_user_and_hub.exs @@ -3,8 +3,8 @@ defmodule Pleroma.Repo.Migrations.AddUserAndHub do def change do alter table(:websub_client_subscriptions) do - add(:hub, :string) add(:user_id, references(:users)) + add(:hub, :string) end end end |