1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Completed webhook management interface

Got webhook CRUD actions in place within the interface.
Quick manual test pass done, Needs automated tests.
This commit is contained in:
Dan Brown
2021-12-08 17:35:58 +00:00
parent 4621d8bcc5
commit 8716b1922b
12 changed files with 166 additions and 22 deletions

View File

@ -18,6 +18,18 @@ class CreateWebhooksTable extends Migration
$table->string('name', 150);
$table->string('endpoint', 500);
$table->timestamps();
$table->index('name');
});
Schema::create('webhook_tracked_events', function (Blueprint $table) {
$table->increments('id');
$table->integer('webhook_id');
$table->string('event', 50);
$table->timestamps();
$table->index('event');
$table->index('webhook_id');
});
}