Add routes, controllers, models and views
This commit is contained in:
parent
80d8f78863
commit
d47f77b5d9
1 changed files with 24 additions and 0 deletions
|
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('webhook_entries', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('source')->default('verify');
|
||||
$table->json('payload')->nullable();
|
||||
$table->json('headers')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('webhook_entries');
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Reference in a new issue