id()->autoIncrement(); $table->string('name',255)->nullable(); $table->bigInteger('module_ip_address_id')->default(0)->index(); $table->integer('port')->nullable(); $table->integer('order_id')->nullable(); $table->integer('first_payment')->nullable(); $table->integer('next_payment')->nullable(); $table->integer('next_due_date')->nullable(); $table->integer('next_invoice')->nullable(); $table->string('user',100)->nullable(); $table->text('password')->nullable(); $table->string('hostname',100)->nullable(); $table->string('vmware_id')->nullable(); $table->bigInteger('os_id')->default(0)->index(); $table->bigInteger('customer_id')->default(0)->index(); $table->tinyInteger('status')->default(1)->comment('1: Running;0:Off;2:Suspend'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('module_vmwares'); } };