mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 08:24:05 +00:00
CI testing
This commit is contained in:
parent
1f5ed5ba22
commit
8b8cd00ca8
1 changed files with 1 additions and 0 deletions
|
|
@ -20,6 +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()->getModels()->each(fn (Model $model) => $this->useRlsOnModel($model));
|
tenancy()->getModels()->each(fn (Model $model) => $this->useRlsOnModel($model));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue