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