id('id'); $table->bigInteger('vote_id')->unsigned(); $table->bigInteger('application_id')->unsigned(); $table->timestamps(); $table->foreign('vote_id')->references('id')->on('votes'); $table->foreign('application_id')->references('id')->on('applications'); }); } /** * Reverse the migrations. * * @return void */ public function down() { // } }