id(); $table->integer("spec_id")->nullable(); $table->string("name")->nullable(); $table->decimal("price")->default(0); $table->integer("myindex")->default(0); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('spec_items'); } }