1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 13:54:03 +00:00

fix: drop tenant databases on migrate fresh without domains (#1282)

This commit is contained in:
Michael Kampmann Petræus 2025-01-01 20:31:47 +01:00 committed by GitHub
parent abe1f1f0ec
commit 6b38a356cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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