Laravel 10.x Shift #49

Merged
nomadjimbob merged 17 commits from shift-91885 into main 2023-05-24 21:47:14 +00:00
2 changed files with 29 additions and 1 deletions
Showing only changes of commit c83e21d588 - Show all commits

View File

@@ -93,7 +93,7 @@ return [
'passwords' => [
'users' => [
'provider' => 'users',
'table' => 'password_resets',
'table' => 'password_reset_tokens',
'expire' => 60,
'throttle' => 60,
],

View File

@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::rename('password_resets', 'password_reset_tokens');
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::rename('password_reset_tokens', 'password_resets');
}
};