Add internal (not managable from API) webhooks
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
parent
9d7bdab7a2
commit
6d46aefb7f
7 changed files with 62 additions and 12 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue