Laravel Migrations Custom Foreign Key
$table->unsignedBigInteger('created_by');
$table->foreign('created_by')->references('id')->on('users');
Marco Tellez
$table->unsignedBigInteger('created_by');
$table->foreign('created_by')->references('id')->on('users');