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:
@ -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');
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user