Update finishing.blade.php

This commit is contained in:
Julian Prieber 2023-07-14 13:05:24 +02:00
parent 066656a073
commit 2a47554428
1 changed files with 1 additions and 2 deletions

View File

@ -155,12 +155,11 @@ use App\Models\Page;
Schema::enableForeignKeyConstraints(); Schema::enableForeignKeyConstraints();
// Adds new column to the users table // Adds new column to the users table
try {
if (!Schema::hasColumn('users', 'auth_as')) { if (!Schema::hasColumn('users', 'auth_as')) {
Schema::table('users', function (Blueprint $table) { Schema::table('users', function (Blueprint $table) {
$table->unsignedBigInteger('auth_as')->nullable(); $table->unsignedBigInteger('auth_as')->nullable();
}); });
}} catch (exception $e) {} }
try { try {
DB::table('link_types')->updateOrInsert([ DB::table('link_types')->updateOrInsert([