mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 15:34:04 +00:00
Add/update comments
This commit is contained in:
parent
1fd1aa7ad6
commit
8d13ce7e2f
3 changed files with 15 additions and 1 deletions
|
|
@ -9,7 +9,10 @@ use Illuminate\Database\Eloquent\Model;
|
|||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
/**
|
||||
* Creates and uses RLS policies for tables related to a tenant directly, or through a parent primary model's table.
|
||||
* Creates and uses RLS policies for tables of models related to a tenant directly (using BelongsToTenant),
|
||||
* or through a parent primary model (using BelongsToPrimaryModel).
|
||||
*
|
||||
* The models are discovered in the directories configured in the Tenancy config ('tenancy.rls.model_directories').
|
||||
*
|
||||
* This command is used with Postgres + single-database tenancy.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue