id(); $table->string('image')->default('')->comment('public path to image'); $table->string('state')->comment('active/archived'); $table->integer('cooking_time')->default(0); $table->json('ingredients'); $table->text('description'); $table->json('steps'); $table->string('youtube_url')->default(''); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('recipes'); } };