Drop the V2 suffix from the core workspace ORM classes (#24774)
## What Third of the five PRs splitting #24759 (after #24761 and #24768). With the files already in place from the paths-only move, this drops the `V2` suffix from the core classes. Pure identifier renames, no file moves: - `WorkspaceRepositoryV2` → `WorkspaceRepository` (and the `workspaceRepositoryV2` properties) - `WorkspaceSelectQueryBuilderV2` → `WorkspaceSelectQueryBuilder`, `WorkspaceMutationQueryBuilderV2` → `WorkspaceMutationQueryBuilder` - `WorkspaceDataSourceV2` → `WorkspaceDataSource`, `WorkspaceDataSourceV2Service` → `WorkspaceDataSourceService` (name freed by the `WorkspaceSchemaService` rename in #24761) - `QueryExecutorV2` → `QueryExecutor` Review rule: the diff is +229/−229 across 55 files and every hunk swaps exactly one of these identifier pairs. ## Notes for CI One committed upgrade command (the 2-22 person-avatar migration) gets a type-annotation rename only, so the PR carries the `ci:allow-previous-version-upgrade-mutation` label. ## Coming next The manager and module rename (`GlobalWorkspaceOrmManager` → `WorkspaceOrmManager`, `GlobalWorkspaceDataSourceModule` → `TwentyOrmModule`), then the internal leftovers. ## Verification - `tsgo --noEmit` clean, `oxlint --type-aware` clean on the 54 changed files, `oxfmt --check src/` clean - All twenty-orm unit suites pass (405 tests) <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/twentyhq/twenty/pull/24774?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
C
Charles Bochet committed
315697a079506621110a1e9ae65293c80b5df38e
Parent: d422be8
Committed by GitHub <noreply@github.com>
on 8/25/2026, 3:04:41 PM