]> BookStack Code Mirror - bookstack/blobdiff - database/migrations/2017_08_01_130541_create_comments_table.php
Followed Laravel 9 update steps and file changes
[bookstack] / database / migrations / 2017_08_01_130541_create_comments_table.php
index 7e64d347b4cdb11151a74d1e9ce11a71d0359bd2..f654ebf6596f39fb13a13f7177b60fcfc2b6d377 100644 (file)
@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateCommentsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -64,4 +64,4 @@ class CreateCommentsTable extends Migration
             DB::table('role_permissions')->where('name', '=', $permName)->delete();
         }
     }
-}
+};