mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 01:14:03 +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,
|
* 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.
|
* 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:
|
* The passed paths should be formatted like this:
|
||||||
* [
|
* [
|
||||||
* 'table_name' => [...$stepsLeadingToTenantsTable]
|
* 'table_name' => [...$stepsLeadingToTenantsTable]
|
||||||
* ].
|
* ]
|
||||||
*/
|
*/
|
||||||
public function generateQueries(array $paths = []): array
|
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
|
* Comment constraints are columns with comments
|
||||||
* formatted like "rls <foreign_table>.<foreign_column>".
|
* formatted like "rls <foreign_table>.<foreign_column>".
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue