diff --git a/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php b/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php index ad6cb7c..40ff706 100644 --- a/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php +++ b/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php @@ -18,7 +18,7 @@ public function up(): void $table->string('token', 64)->unique(); $table->text('abilities')->nullable(); $table->timestamp('last_used_at')->nullable(); - $table->timestamp('expires_at')->nullable(); + $table->timestamp('expires_at')->nullable()->index(); $table->timestamps(); }); }