id()->autoIncrement(); $table->string('version', 100)->nullable(); $table->string('os_id', 100)->nullable(); $table->integer('os_group_id')->index()->default(0); $table->string('template_id')->nullable(); $table->integer('module_host_id')->index()->default(0); $table->tinyInteger('status')->default(1); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('os'); } };