Migraciones de Laravel Clave externa personalizada
$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');