Add internal (not managable from API) webhooks

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2022-10-29 19:07:54 +02:00 • committed by nicole mikołajczyk
commit 6d46aefb7f
7 changed files with 62 additions and 12 deletions

View file

@ -0,0 +1,13 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Repo.Migrations.AddInternalToWebhooks do
use Ecto.Migration
def change do
alter table(:webhooks) do
add(:internal, :boolean, default: false, null: false)
end
end
end