summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20170427054757_add_user_and_hub.exs
blob: 1678cf001a25be3ef4ef11c4ca695803c3cb5e09 (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(:user_id, references(:users))
      add(:hub, :string)
    end
  end
end