]> BookStack Code Mirror - bookstack/blobdiff - database/migrations/2021_05_15_173110_create_favourites_table.php
Followed Laravel 9 update steps and file changes
[bookstack] / database / migrations / 2021_05_15_173110_create_favourites_table.php
index 783bf5825daa4be49517bead0a02675c658dae4d..cdd7f4f6485670778af02419ff352a1ebd374fe9 100644 (file)
@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateFavouritesTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -33,4 +33,4 @@ class CreateFavouritesTable extends Migration
     {
         Schema::dropIfExists('favourites');
     }
-}
+};