1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 19:24:02 +00:00

CI testing

This commit is contained in:
lukinovec 2023-06-16 08:38:16 +02:00
parent 1f5ed5ba22
commit 8b8cd00ca8

View file

@ -20,6 +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));
});