This commit is contained in:
pbao9
2026-02-03 16:10:49 +07:00
parent 6178a76eee
commit 0dbd9bfebe
12 changed files with 446 additions and 206 deletions
@@ -16,8 +16,7 @@ return new class extends Migration
Schema::create('module_ip_address',function (Blueprint $table) {
$table->id()->autoIncrement();
$table->string('vm_name',255)->nullable();
$table->bigInteger('module_host_id')->default(0)->index();
$table->bigInteger('module_network_id')->default(0)->index();
$table->foreignId('module_network_id')->nullable()->constrained('module_network')->onDelete('set null')->index();
$table->string('ip',100)->nullable();
$table->string('gateway',100)->nullable();
$table->string('netmask',100)->nullable();