From 2a47554428ed87133161f7cacdf59fa085b2639d Mon Sep 17 00:00:00 2001 From: Julian Prieber <60265788+JulianPrieber@users.noreply.github.com> Date: Fri, 14 Jul 2023 13:05:24 +0200 Subject: [PATCH] Update finishing.blade.php --- resources/views/components/finishing.blade.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/views/components/finishing.blade.php b/resources/views/components/finishing.blade.php index 19024ae..2dd2857 100644 --- a/resources/views/components/finishing.blade.php +++ b/resources/views/components/finishing.blade.php @@ -155,12 +155,11 @@ use App\Models\Page; Schema::enableForeignKeyConstraints(); // Adds new column to the users table - try { if (!Schema::hasColumn('users', 'auth_as')) { Schema::table('users', function (Blueprint $table) { $table->unsignedBigInteger('auth_as')->nullable(); }); - }} catch (exception $e) {} + } try { DB::table('link_types')->updateOrInsert([