@@ -277,7 +277,7 @@ private function hasDataToCleanup(\Illuminate\Support\Collection $users): bool
277277 || Conversation::withoutGlobalScope ('tenant_scope ' )->whereIn ('created_by ' , $ userIds )->exists ()
278278 || File::withoutGlobalScope ('tenant_scope ' )->whereIn ('created_by ' , $ userIds )->exists ()
279279 || Collection::withoutGlobalScope ('tenant_scope ' )->whereIn ('created_by ' , $ userIds )->exists ()
280- || Trial::withoutGlobalScope ('tenant_scope ' )->whereIn ('created_by ' , $ userIds )->exists ()
280+ // || Trial::withoutGlobalScope('tenant_scope')->whereIn('created_by', $userIds)->exists()
281281 || Vector::withoutGlobalScope ('tenant_scope ' )->whereIn ('created_by ' , $ userIds )->exists ()
282282 || TimelineItem::whereIn ('owned_by ' , $ userIds )->exists ()
283283 || TimelineFact::whereIn ('owned_by ' , $ userIds )->exists ();
@@ -331,7 +331,7 @@ private function cleanupTenantData(\Illuminate\Support\Collection $users): void
331331 Vector::withoutGlobalScope ('tenant_scope ' )->whereIn ('created_by ' , $ userIds )->delete ();
332332 File::withoutGlobalScope ('tenant_scope ' )->whereIn ('created_by ' , $ userIds )->delete ();
333333 Collection::withoutGlobalScope ('tenant_scope ' )->whereIn ('created_by ' , $ userIds )->delete ();
334- Trial::withoutGlobalScope ('tenant_scope ' )->whereIn ('created_by ' , $ userIds )->delete ();
334+ // Trial::withoutGlobalScope('tenant_scope')->whereIn('created_by', $userIds)->delete();
335335
336336 // 4. Leaks & co
337337 TimelineItem::whereIn ('owned_by ' , $ userIds )->delete ();
0 commit comments