Skip to content

Commit

Permalink
fix: drop tenant databases on migrate fresh without domains (#1282)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKampmann authored Jan 1, 2025
1 parent abe1f1f commit 6b38a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jobs/DeleteDomains.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ public function __construct(

public function handle(): void
{
$this->tenant->domains->each->delete();
$this->tenant->domains?->each->delete();
}
}

0 comments on commit 6b38a35

Please sign in to comment.