I have multiple database configs in my config\app.php
. Like follow example:
'connections' => [
'database1' => [
/**
* ...
*/
'database' => database1_env('database'),
'username' => database1_env('username'),
'password' => database1_env('password'),
/**
* ...
*/
],
'database2' => [
/**
* ...
*/
'database' => database2_env('database'),
'username' => database2_env('username'),
'password' => database2_env('password'),
/**
* ...
*/
]
]
I have configured and almost everything works fine, the problem is async. Because I have the same Notification [ Mail to request password ] to both databases, and I don't know how to force the selection to the correct database.