mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 18:54:03 +00:00
Delete dump()
This commit is contained in:
parent
b0effa60e7
commit
6bd78b4520
2 changed files with 0 additions and 5 deletions
|
|
@ -45,7 +45,6 @@ class CreateRLSPoliciesForTenantTables extends Command
|
|||
}
|
||||
|
||||
if (tenancy()->modelBelongsToTenantIndirectly($model)) {
|
||||
dump("creating {$table}_rls_policy");
|
||||
/** @phpstan-ignore-next-line */
|
||||
$parentName = $model->getRelationshipToPrimaryModel();
|
||||
$parentKey = $model->$parentName()->getForeignKeyName();
|
||||
|
|
@ -63,8 +62,6 @@ class CreateRLSPoliciesForTenantTables extends Command
|
|||
)
|
||||
)");
|
||||
|
||||
dump("{$table}_rls_policy created");
|
||||
|
||||
$this->enableRls($table);
|
||||
|
||||
$this->components->info("Created RLS policy for table '$table'");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue