From ffdd82504a909db8c154b2d3902b0755bbb33a12 Mon Sep 17 00:00:00 2001 From: Bubka <858858+Bubka@users.noreply.github.com> Date: Fri, 10 Mar 2023 15:54:58 +0100 Subject: [PATCH] Increase id column length of webauthn credential - Fix #166 --- .../2022_10_20_122032_create_webauthn_credentials.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/2022_10_20_122032_create_webauthn_credentials.php b/database/migrations/2022_10_20_122032_create_webauthn_credentials.php index c38fa5f5..5d5355f5 100644 --- a/database/migrations/2022_10_20_122032_create_webauthn_credentials.php +++ b/database/migrations/2022_10_20_122032_create_webauthn_credentials.php @@ -65,7 +65,7 @@ return new class extends Migration { */ protected static function defaultBlueprint(Blueprint $table): void { - $table->string('id')->primary(); + $table->string('id', 510)->primary(); $table->morphs('authenticatable', 'webauthn_user_index');