mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 16:54:05 +00:00
anonymous migration for tenant_resources table
This commit is contained in:
parent
aa958ce930
commit
e2ca635ff8
1 changed files with 4 additions and 4 deletions
|
|
@ -6,9 +6,9 @@ use Illuminate\Database\Migrations\Migration;
|
||||||
use Illuminate\Database\Schema\Blueprint;
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
use Illuminate\Support\Facades\Schema;
|
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) {
|
Schema::create('tenant_resources', function (Blueprint $table) {
|
||||||
$table->increments('id');
|
$table->increments('id');
|
||||||
|
|
@ -18,8 +18,8 @@ class CreateTenantResourcesTable extends Migration
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public function down()
|
public function down(): void
|
||||||
{
|
{
|
||||||
Schema::dropIfExists('tenant_resources');
|
Schema::dropIfExists('tenant_resources');
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue