We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the documentation it says I can set a site wide default tenant column but the app/landlord.php file doesn't seem to do anything.
app/landlord.php
'default_tenant_columns' => ['tenant_id'],
I still have to specify the $tenantColumn in my middleware or anywhere else I want to use it.
$tenantColumn
public function handle($request, Closure $next) { $tenantColumn = 'tenant_id'; $tenantId = '1'; Landlord::addTenant($tenantColumn, $tenantId); return $next($request); }
The text was updated successfully, but these errors were encountered:
The queries builded to select only the tenant records use this config
Sorry, something went wrong.
Could you give an example?
Yeah I can see that'd be confusing. It's used when building the queries that actually do the scoping.
No branches or pull requests
In the documentation it says I can set a site wide default tenant column but the
app/landlord.php
file doesn't seem to do anything.I still have to specify the
$tenantColumn
in my middleware or anywhere else I want to use it.The text was updated successfully, but these errors were encountered: