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

fix: drop tenant databases on migrate fresh without domains

This commit is contained in:
michaelkampmann 2025-01-01 10:57:38 +01:00
parent abe1f1f0ec
commit 7b9e65c97b

View file

@ -21,6 +21,6 @@ class DeleteDomains
public function handle(): void
{
$this->tenant->domains->each->delete();
$this->tenant->domains?->each->delete();
}
}