mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 19:24:02 +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
|
||||
{
|
||||
DB::transaction(function () {
|
||||
dump(tenancy()->getModels(), tenancy()->getTenantModels());
|
||||
tenancy()->getModels()->each(fn (Model $model) => $this->useRlsOnModel($model));
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue