Say the features table is found only the central database. And the scopes of the features is based on the Tenant model, how do you check it inside a tenant resource?
In one of my tenant resource:
public static function canViewAny(): bool
{
return Feature::active(CRM::class);
}
[!WARNING]
We have a known problem with route:cache if you find a problem with multi-database connection from your tenant side you may face this problem just use php artisan route:clear and it will be fixed.
Say the
features
table is found only the central database. And the scopes of the features is based on theTenant
model, how do you check it inside a tenant resource?In one of my tenant resource: