mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 10:14:04 +00:00
formatting
This commit is contained in:
parent
870fb5d37c
commit
aff8986c9b
1 changed files with 3 additions and 3 deletions
|
|
@ -64,7 +64,7 @@ class TableRLSManager implements RLSPolicyManager
|
|||
{
|
||||
/**
|
||||
* When true, all valid constraints are considered while generating paths for RLS policies,
|
||||
* unless explicitly marked with 'no-rls' comment.
|
||||
* unless explicitly marked with a 'no-rls' comment.
|
||||
*
|
||||
* When false, only columns explicitly marked with 'rls' or 'rls table.column' comments are considered.
|
||||
*/
|
||||
|
|
@ -82,7 +82,7 @@ class TableRLSManager implements RLSPolicyManager
|
|||
* The passed paths should be formatted like this:
|
||||
* [
|
||||
* 'table_name' => [...$stepsLeadingToTenantsTable]
|
||||
* ].
|
||||
* ]
|
||||
*/
|
||||
public function generateQueries(array $paths = []): array
|
||||
{
|
||||
|
|
@ -392,7 +392,7 @@ class TableRLSManager implements RLSPolicyManager
|
|||
}
|
||||
|
||||
/**
|
||||
* Retrieve table's comment constraints.
|
||||
* Retrieve a table's comment constraints.
|
||||
*
|
||||
* Comment constraints are columns with comments
|
||||
* formatted like "rls <foreign_table>.<foreign_column>".
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue