From e2ca635ff89aec72270b927ba034ee0f370c1b6c Mon Sep 17 00:00:00 2001 From: Abrar Ahmad Date: Fri, 11 Nov 2022 11:21:20 +0500 Subject: [PATCH] anonymous migration for `tenant_resources` table --- .../2020_05_11_000002_create_tenant_resources_table.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/resource-syncing-migrations/2020_05_11_000002_create_tenant_resources_table.php b/assets/resource-syncing-migrations/2020_05_11_000002_create_tenant_resources_table.php index 83b722fa..3e8ef18f 100644 --- a/assets/resource-syncing-migrations/2020_05_11_000002_create_tenant_resources_table.php +++ b/assets/resource-syncing-migrations/2020_05_11_000002_create_tenant_resources_table.php @@ -6,9 +6,9 @@ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class CreateTenantResourcesTable extends Migration +return new class extends Migration { - public function up() + public function up(): void { Schema::create('tenant_resources', function (Blueprint $table) { $table->increments('id'); @@ -18,8 +18,8 @@ class CreateTenantResourcesTable extends Migration }); } - public function down() + public function down(): void { Schema::dropIfExists('tenant_resources'); } -} +};