diff --git a/database/migrations/2023_01_27_121000_add_role_to_item.php b/database/migrations/2023_01_27_121000_add_role_to_item.php index 1ab8d44f..f0e97074 100644 --- a/database/migrations/2023_01_27_121000_add_role_to_item.php +++ b/database/migrations/2023_01_27_121000_add_role_to_item.php @@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddRoleToItem extends Migration +return new class extends Migration { /** * Run the migrations. @@ -29,4 +29,4 @@ class AddRoleToItem extends Migration // }); } -} +};