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

Revert CI testing changes

This commit is contained in:
lukinovec 2023-06-16 08:42:36 +02:00
parent 8b8cd00ca8
commit 1fb90129cf

View file

@ -20,8 +20,7 @@ class CreateRLSPoliciesForTenantTables extends Command
public function handle(): int public function handle(): int
{ {
DB::transaction(function () { DB::transaction(function () {
dump(tenancy()->getModels(), tenancy()->getTenantModels()); tenancy()->getTenantModels()->each(fn (Model $model) => $this->useRlsOnModel($model));
tenancy()->getModels()->each(fn (Model $model) => $this->useRlsOnModel($model));
}); });
return Command::SUCCESS; return Command::SUCCESS;