]> BookStack Code Mirror - bookstack/blobdiff - database/migrations/2018_08_04_115700_create_bookshelves_table.php
Followed Laravel 9 update steps and file changes
[bookstack] / database / migrations / 2018_08_04_115700_create_bookshelves_table.php
index bb1aec95b6ca95bc831e8429e23a1204c8ea5b0d..bd3478bc7c8f696a6fb82406cf020f3d0548709d 100644 (file)
@@ -5,7 +5,7 @@ use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\DB;
 use Illuminate\Support\Facades\Schema;
 
-class CreateBookshelvesTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -128,4 +128,4 @@ class CreateBookshelvesTable extends Migration
         DB::table('search_terms')->where('entity_type', '=', 'BookStack\Entities\Models\Bookshelf')->delete();
         DB::table('comments')->where('entity_type', '=', 'BookStack\Entities\Models\Bookshelf')->delete();
     }
-}
+};