diff --git a/backend/database/migrations/2025_11_07_153308_backfill_account_vat_settings.php b/backend/database/migrations/2025_11_07_153308_backfill_account_vat_settings.php index 94962130e..359d65b6a 100644 --- a/backend/database/migrations/2025_11_07_153308_backfill_account_vat_settings.php +++ b/backend/database/migrations/2025_11_07_153308_backfill_account_vat_settings.php @@ -27,7 +27,7 @@ public function up(): void foreach ($stripeAccounts as $accountStripePlatform) { $stripeCountry = $accountStripePlatform->stripe_account_details['country'] ?? null; - if ($stripeCountry === null) { + if ($stripeCountry === null || $accountStripePlatform->account === null) { continue; }