1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 19:24:02 +00:00

Improve comment

This commit is contained in:
lukinovec 2023-05-31 13:44:22 +02:00
parent ac6bf3651a
commit 5b07afcc33

View file

@ -21,7 +21,7 @@ trait BelongsToTenant
public static function bootBelongsToTenant(): void
{
// The queries performed for models present in the tenancy.models.rls are scoped using Postgres RLS instead of the global scope
// Queries of models present in the tenancy.models.rls config are scoped using Postgres RLS instead of the global scope
if (! in_array(static::class, config('tenancy.models.rls'))) {
static::addGlobalScope(new TenantScope);
}