fix: 🗃️ rename user reset password table
This commit is contained in:
parent
b2befb0a21
commit
889bd85493
2 changed files with 3 additions and 3 deletions
|
|
@ -88,7 +88,7 @@ return [
|
|||
'passwords' => [
|
||||
'backend' => [
|
||||
'provider' => 'users',
|
||||
'table' => env('AUTH_PASSWORD_RESET_TOKEN_TABLE', 'password_reset_tokens'),
|
||||
'table' => env('AUTH_PASSWORD_RESET_TOKEN_TABLE', 'user_password_reset_tokens'),
|
||||
'expire' => 60,
|
||||
'throttle' => 60,
|
||||
],
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ return new class extends Migration
|
|||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('password_reset_tokens', function (Blueprint $table): void {
|
||||
Schema::create('user_password_reset_tokens', function (Blueprint $table): void {
|
||||
$table->string('email')->primary();
|
||||
$table->string('token');
|
||||
$table->timestamp('created_at')->nullable();
|
||||
|
|
@ -27,6 +27,6 @@ return new class extends Migration
|
|||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('password_reset_tokens');
|
||||
Schema::dropIfExists('user_password_reset_tokens');
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Reference in a new issue