mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-02-16 10:29:16 +01:00
Add indexes on authentication log table
This commit is contained in:
parent
e73fbf658f
commit
74a0db724d
@ -35,9 +35,9 @@ public function up(): void
|
||||
$table->morphs('authenticatable');
|
||||
$table->string('ip_address', 45)->nullable();
|
||||
$table->text('user_agent')->nullable();
|
||||
$table->timestamp('login_at')->nullable();
|
||||
$table->boolean('login_successful')->default(false);
|
||||
$table->timestamp('logout_at')->nullable();
|
||||
$table->timestamp('login_at')->nullable()->index();
|
||||
$table->boolean('login_successful')->default(false)->index();
|
||||
$table->timestamp('logout_at')->nullable()->index();
|
||||
$table->boolean('cleared_by_user')->default(false);
|
||||
$table->string('guard', 40)->nullable();
|
||||
$table->string('login_method', 40)->nullable();
|
||||
|
Loading…
Reference in New Issue
Block a user