From 90f19b2e7f6446767d6f2b1f5ef37a8a23ed9471 Mon Sep 17 00:00:00 2001 From: Romain Date: Thu, 12 Sep 2024 11:48:15 +0200 Subject: [PATCH] migration sessions --- database/migrations/2023_01_01_000000_create_sessions_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/2023_01_01_000000_create_sessions_table.php b/database/migrations/2023_01_01_000000_create_sessions_table.php index 5150fb07..2793ee98 100644 --- a/database/migrations/2023_01_01_000000_create_sessions_table.php +++ b/database/migrations/2023_01_01_000000_create_sessions_table.php @@ -15,7 +15,7 @@ public function up(): void $table->string('id')->primary(); $table->foreignId('user_id')->nullable()->index(); $table->string('ip_address', 45)->nullable(); - $table->text('user_agent')->nullable(); + $table->text('user_agent')->nullable()->index(); $table->longText('payload'); $table->integer('last_activity')->index(); });