This commit is contained in:
pbao9
2026-01-30 17:08:59 +07:00
parent 69923ea016
commit 72b690f22e
15 changed files with 370 additions and 211 deletions
@@ -16,7 +16,7 @@ return new class extends Migration {
$table->id()->autoIncrement();
$table->string('name', 255)->nullable();
$table->string('datacenter_id', 255)->nullable();
$table->bigInteger('vcenter_id')->default(0)->index();
$table->foreignId('vcenter_id')->constrained('module_vcenter')->cascadeOnDelete()->nullable()->index();
$table->integer('status')->default(0);
$table->timestamps();
});