Is possible to put the User tables into its own MySQL database separate from the forum discussions and comments? So the User Tables can reside on a different database (possibly even on a different server entirely).
For example, in the file: https://github.com/flarum/core/blob/master/src/User/UserRepository.php
public function findOrFail($id, User $actor = null)
{
$query = User::where('id', $id);
return $this->scopeVisibleTo($query, $actor)->firstOrFail();
}
Can the query be from a separate dbname2 such as:
$query = DB::table('dbname2.tablename') ... ->where('id', $id');
or
$query = DB::connection('mysql2connect') ... ->where('id', $id');