id(); $table->string('title'); $table->text('description'); $table->string('photo_uri')->nullable(); $table->unsignedInteger('headteacher_id'); $table->foreign('headteacher_id')->references('id')->on('head_teachers'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('news'); } }