From 0e27e81924f531ca8575dbcf25f2d151b971aedc Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Thu, 2 Feb 2023 13:14:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/Web/AuthController.php | 5 ----- .../2023_02_02_031145_add_soft_deletes_to_users.php | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/app/Http/Controllers/Web/AuthController.php b/app/Http/Controllers/Web/AuthController.php index bd85463..62e57d4 100644 --- a/app/Http/Controllers/Web/AuthController.php +++ b/app/Http/Controllers/Web/AuthController.php @@ -5,17 +5,12 @@ // use App\Helpers\ApiResponse; use App\Http\Controllers\Controller; -use App\Models\User; use App\Notifications\User\UserNotification; use function back; use function config; -use GuzzleHttp\Client; -use GuzzleHttp\Exception\ClientException; -use GuzzleHttp\Exception\GuzzleException; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; -use Illuminate\Support\Str; use Illuminate\View\View; use function redirect; use function session; diff --git a/database/migrations/2023_02_02_031145_add_soft_deletes_to_users.php b/database/migrations/2023_02_02_031145_add_soft_deletes_to_users.php index 6d27e65..75d1a91 100644 --- a/database/migrations/2023_02_02_031145_add_soft_deletes_to_users.php +++ b/database/migrations/2023_02_02_031145_add_soft_deletes_to_users.php @@ -15,7 +15,7 @@ public function up(): void { Schema::table('users', function (Blueprint $table) { // if it has column `deleted_at`, skip - if (!Schema::hasColumn('users', 'deleted_at')) { + if (! Schema::hasColumn('users', 'deleted_at')) { $table->softDeletes(); } });