This commit is contained in:
ct
2025-07-03 20:27:48 +08:00
parent 3d7b3c428b
commit 3edfedecdd
7 changed files with 17 additions and 14 deletions

View File

@@ -20,7 +20,7 @@ public function up(): void
$table->timestamp('expires_at');
$table->timestamp('used_at')->nullable();
$table->timestamps();
$table->index(['user_id', 'expires_at']);
$table->index('expires_at');
});