]> BookStack Code Mirror - bookstack/blobdiff - database/migrations/2022_08_17_092941_create_references_table.php
Followed Laravel 9 update steps and file changes
[bookstack] / database / migrations / 2022_08_17_092941_create_references_table.php
index 443bce551747f09fda31f47097cc4f2def8188e8..4b688c43e88de5bbebdd61e1935c9c38e8e78dc1 100644 (file)
@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateReferencesTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -31,4 +31,4 @@ class CreateReferencesTable extends Migration
     {
         Schema::dropIfExists('references');
     }
-}
+};