PHP Laravel migration file does not create relation

I want to create a relation between the users-table and my other tabe in php laravel. After migrating this with the command:

  • php artisan migrate:fresh --seed

nothing happens

The migration file:

$table
    ->unsignedBigInteger('updated_from')
    ->nullable()
    ->foreign('updated_from')
    ->references('id')
    ->on('users');

And after refreshing the erd in datagrip there is no relation between the two tables:
enter image description here

There is no relation. The other arrow comes from another table.