1 Commits

Author SHA1 Message Date
Italo
bb3b21e325 Fixes database migration morph index being too large. 2022-06-17 17:33:46 -04:00

View File

@@ -45,7 +45,7 @@ return new class extends Migration {
{ {
$table->string('id')->primary(); $table->string('id')->primary();
$table->morphs('authenticatable'); $table->morphs('authenticatable', 'webauthn_user_index');
// This is the user UUID that is generated automatically when a credential for the // This is the user UUID that is generated automatically when a credential for the
// given user is created. If a second credential is created, this UUID is queried // given user is created. If a second credential is created, this UUID is queried