diff --git a/src/Commands/CreateRLSPoliciesForTenantTables.php b/src/Commands/CreateRLSPoliciesForTenantTables.php index 47593285..af41c351 100644 --- a/src/Commands/CreateRLSPoliciesForTenantTables.php +++ b/src/Commands/CreateRLSPoliciesForTenantTables.php @@ -20,8 +20,7 @@ class CreateRLSPoliciesForTenantTables extends Command public function handle(): int { DB::transaction(function () { - dump(tenancy()->getModels(), tenancy()->getTenantModels()); - tenancy()->getModels()->each(fn (Model $model) => $this->useRlsOnModel($model)); + tenancy()->getTenantModels()->each(fn (Model $model) => $this->useRlsOnModel($model)); }); return Command::SUCCESS;