mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 08:24:04 +00:00
fix: drop tenant databases on migrate fresh without domains (#1282)
This commit is contained in:
parent
abe1f1f0ec
commit
6b38a356cb
1 changed files with 1 additions and 1 deletions
|
|
@ -21,6 +21,6 @@ class DeleteDomains
|
||||||
|
|
||||||
public function handle(): void
|
public function handle(): void
|
||||||
{
|
{
|
||||||
$this->tenant->domains->each->delete();
|
$this->tenant->domains?->each->delete();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue