increments('id'); $table->string('name')->unique(); $table->integer('kcal')->unsigned(); $table->float('carbohydrates'); $table->float('protein'); $table->float('fat'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('products'); } }