for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateInlineQueryTable extends Migration
{
public function up(): void
Schema::create('inline_query', static function (Blueprint $table) {
$table->bigInteger('id')->unsigned()->primary()->comment('Unique identifier for this query');
$table->bigInteger('user_id')->nullable()->index('user_id')->comment('Unique user identifier');
$table->char('location')->nullable()->comment('Location of the user');
$table->text('query')->comment('Text of the query');
$table->char('offset')->nullable()->comment('Offset of the result');
$table->dateTime('created_at')->nullable()->comment('Entry date creation');
});
}
public function down(): void
Schema::dropIfExists('inline_query');