Tenancy for laravel & File upload component

Hello,

I'm running into an issue that I can't seem to figure out why it's happening.

I use Tenancy for Laravel in my application for multi-tenant capabilities. I have a resource, with a form that contains a file upload. But for some reason, when trying to upload a file, I get the following error:

base table or view not found: 1146 Table 'main_db.users' doesn't exist

I'm confused about why it's trying to access the user's table, and even more so why it's using the central database main_db rather than the tenant's database. Does anyone know why this is happening?
Solution
Ah @Dennis Koch so I did find it, livewire configures it on temp file uploads:

in livewire.php config file
Was this page helpful?