1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 11:14:03 +00:00

Fix code style (php-cs-fixer)

This commit is contained in:
github-actions[bot] 2025-01-09 09:49:52 +00:00
parent 55bc56356f
commit 7a6f2ffda6
2 changed files with 4 additions and 4 deletions

View file

@ -24,9 +24,9 @@ class TableRLSManager implements RLSPolicyManager
$centralUserName = $this->database->getConfig('username');
foreach ($trees ?: $this->shortestPaths() as $table => $path) {
$queries[$table] =[
$queries[$table] = [
'tenant' => $this->generateQuery($table, $path),
'central' => "CREATE POLICY {$table}_central_rls_policy ON {$table} AS PERMISSIVE TO {$centralUserName} USING (true);"
'central' => "CREATE POLICY {$table}_central_rls_policy ON {$table} AS PERMISSIVE TO {$centralUserName} USING (true);",
];
}