mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 15:54:03 +00:00
Except data
This commit is contained in:
parent
08148225eb
commit
86fd919adf
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ class DatabaseStorageDriver implements StorageDriver
|
||||||
|
|
||||||
public function createTenant(string $domain, string $uuid): array
|
public function createTenant(string $domain, string $uuid): array
|
||||||
{
|
{
|
||||||
return Tenant::create(['uuid' => $uuid, 'domain' => $domain, 'data' => '{}'])->toArray();
|
return Tenant::create(['uuid' => $uuid, 'domain' => $domain, 'data' => '{}'])->except('data')->toArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function deleteTenant(string $id): bool
|
public function deleteTenant(string $id): bool
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue