id(); $table->string('name'); $table->string('domain')->unique(); $table->unsignedInteger('vmid')->nullable()->unique(); $table->string('ip_address', 45)->nullable(); $table->unsignedTinyInteger('cpu')->default(2); $table->unsignedInteger('ram')->default(2048); $table->unsignedInteger('disk')->default(32); $table->enum('status', ['pending', 'active', 'failed'])->default('pending'); $table->string('provisioning_step')->nullable(); $table->text('error_message')->nullable(); $table->timestamps(); $table->index('status'); $table->index('ip_address'); }); } public function down(): void { Schema::dropIfExists('customers'); } };