summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20170427054757_add_user_and_hub.exs
blob: 4f9a520bd0ba3c330e6956820dbbd62ea6ade2f7 (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