$table->id(); $table->string('model'); $table->unsignedBigInteger('manufacturer_id'); $table->foreign('manufacturer_id')->references('id')->on('manufacturers'); $table->timestamps();
$table->id(); $table->string('model'); $table->unsignedBigInteger('manufacturer_id'); $table->foreign('manufacturer_id')->references('id')->on('manufacturers'); $table->timestamps();