From a28ad2966df4488c873f793c6e5b03cbea547d1e Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 30 Jan 2023 16:53:14 -0600 Subject: [PATCH] rename password reset tokens table in skeleton --- config/auth.php | 2 +- ... 2014_10_12_100000_create_password_reset_tokens_table.php} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename database/migrations/{2014_10_12_100000_create_password_resets_table.php => 2014_10_12_100000_create_password_reset_tokens_table.php} (79%) diff --git a/config/auth.php b/config/auth.php index d8c6cee7..aa6b7802 100644 --- a/config/auth.php +++ b/config/auth.php @@ -89,7 +89,7 @@ return [ 'passwords' => [ 'users' => [ 'provider' => 'users', - 'table' => 'password_resets', + 'table' => 'password_reset_tokens', 'expire' => 60, 'throttle' => 60, ], diff --git a/database/migrations/2014_10_12_100000_create_password_resets_table.php b/database/migrations/2014_10_12_100000_create_password_reset_tokens_table.php similarity index 79% rename from database/migrations/2014_10_12_100000_create_password_resets_table.php rename to database/migrations/2014_10_12_100000_create_password_reset_tokens_table.php index e207aaa2..81a7229b 100644 --- a/database/migrations/2014_10_12_100000_create_password_resets_table.php +++ b/database/migrations/2014_10_12_100000_create_password_reset_tokens_table.php @@ -11,7 +11,7 @@ return new class extends Migration */ public function up(): void { - Schema::create('password_resets', function (Blueprint $table) { + Schema::create('password_reset_tokens', function (Blueprint $table) { $table->string('email')->primary(); $table->string('token'); $table->timestamp('created_at')->nullable(); @@ -23,6 +23,6 @@ return new class extends Migration */ public function down(): void { - Schema::dropIfExists('password_resets'); + Schema::dropIfExists('password_reset_tokens'); } };