summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20170427054757_add_user_and_hub.exs
blob: f33a8572fd3f4ac41fb20f8703a91746a057aac4 (plain)
1
2
3
4
5
6
7
8
9
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