fix: sessions PK

This commit is contained in:
b1ek 2024-08-29 19:21:37 +10:00
parent a9e0999811
commit 187092b38a
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ return new class extends Migration
});
Schema::create('sessions', function (Blueprint $table) {
$table->uuid('id')->primary();
$table->string('id')->primary();
$table->foreignId('user_id')->nullable()->index();
$table->string('ip_address', 45)->nullable();
$table->text('user_agent')->nullable();