for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of Laravel Sense.
*
* (c) Anton Komarev <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSenseRequestsTable extends Migration
{
/**
* Run the migrations.
* @return void
public function up(): void
Schema::create('sense_requests', function (Blueprint $table) {
$table->bigIncrements('id');
$table->uuid('correlation_id');
$table->unsignedBigInteger('url_id');
$table->string('method');
$table->timestamps();
$table->index('correlation_id');
$table->index('url_id');
});
}
* Reverse the migrations.
public function down(): void
Schema::dropIfExists('sense_requests');