1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 11:14:03 +00:00

anonymous migration for tenant_resources table

This commit is contained in:
Abrar Ahmad 2022-11-11 11:21:20 +05:00
parent aa958ce930
commit e2ca635ff8

View file

@ -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');
}
}
};