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

Delete dump()

This commit is contained in:
lukinovec 2023-06-15 13:52:18 +02:00
parent b0effa60e7
commit 6bd78b4520
2 changed files with 0 additions and 5 deletions

View file

@ -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'");