Fixes database migration morph index being too large.

This commit is contained in:
Italo
2022-06-17 17:33:46 -04:00
parent 6fe7ff58f5
commit bb3b21e325

View File

@@ -45,7 +45,7 @@ return new class extends Migration {
{
$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
// given user is created. If a second credential is created, this UUID is queried