Laravel Migrações

$table->unsignedBigInteger('created_by');
$table->foreign('created_by')->references('id')->on('users');
Marco Tellez