Move twenty-orm-v2 into twenty-orm, paths only (#24768)
## What Second of the five PRs splitting #24759 (after #24761). This is the paths-only move: `twenty-orm-v2/` merges into `twenty-orm/` with **no identifier changes whatsoever**. - The `datasource`, `error-handling`, `executor`, `query-builder`, `sql`, `table-shape`, `repository`, `utils` and `exceptions` contents move under `twenty-orm/`, and file names lose their `-v2`. - The `global-workspace-datasource/` folder dissolves into the `twenty-orm` root (manager, module, cache service, and its two type files into `twenty-orm/types/`). - Every other change is an import-specifier rewrite. The diff outside the moved files is +328/−328: strictly one-line path swaps. Review rule: every hunk either renames a file or changes the string `src/engine/twenty-orm-v2/…` (or `…/global-workspace-datasource/…`) to its new location. No class, type, function or property changes name; those come next in the sequence. ## Notes for CI - Ten committed upgrade commands get import-path rewrites only, so the PR carries the `ci:allow-previous-version-upgrade-mutation` label. - CodeQL may flag the moved `build-column-result-alias.util.ts` as a "new" weak-crypto alert: the SHA-1 there truncates SQL result aliases past Postgres's 63-byte identifier limit (mirroring TypeORM's `DriverUtils.buildAlias`), not a security use. The same alert was dismissed as a false positive on the reference PRs. - Translation catalogs are untouched; their source-path comments refresh through the automated i18n extraction. ## Coming next Core class de-suffixing, then the manager and module rename, then the internal leftovers. ## Verification - `tsgo --noEmit` clean, `oxlint --type-aware` clean on the 217 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/24768?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
ba3cfc8e3c751e43fd0d31727aa073f75302d0b8
Parent: 9688857
Committed by GitHub <noreply@github.com>
on 8/25/2026, 2:31:55 PM