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 CreateSenseRequestSummariesTable extends Migration
{
/**
* Run the migrations.
* @return void
public function up(): void
Schema::create('sense_request_summaries', function (Blueprint $table) {
$table->bigIncrements('id');
$table->unsignedBigInteger('request_id');
$table->unsignedInteger('queries_count')->default('0');
$table->double('time_total', 10, 2)->default('0');
$table->timestamps();
});
}
* Reverse the migrations.
public function down(): void
Schema::dropIfExists('sense_request_summaries');