SIGN IN SIGN UP

Rename the workspace ORM manager and module (#24781)

## What

Fourth of the five PRs splitting #24759 (after #24761, #24768 and
#24774). The widest rename of the sequence, and deliberately isolated
for that reason: every service injects the manager, so this one
identifier pair dominates the file count.

- `GlobalWorkspaceOrmManager` → `WorkspaceOrmManager`, and the injected
`globalWorkspaceOrmManager` property → `workspaceOrmManager` everywhere.
- `GlobalWorkspaceDataSourceModule` → `TwentyOrmModule` (it has been the
twenty-orm module in all but name since it absorbed the v2 module in
#24761).
- The two files follow: `workspace-orm.manager.ts` and
`twenty-orm.module.ts`.

The `Global` prefix referred to the global workspace datasource that was
deleted with ORM v1.

Review rule: 161 files, +718/−718, and every hunk swaps one of the three
identifier pairs or one of the two file paths. Nothing else changes.

## Notes for CI

Nine committed upgrade commands get the property and import renames only
(no SQL, timestamp, or up/down logic changes), so the PR carries the
`ci:allow-previous-version-upgrade-mutation` label.

## Coming next

The last one: internal leftovers (find-option types, builder contexts,
repository options type, group-by service, and the README sweep).

## Verification

- `tsgo --noEmit` clean, `oxlint --type-aware` clean on the 161 changed
files, `oxfmt --check src/` clean
- twenty-orm and workflow-tool unit suites pass (50 suites, 430 tests)


<!-- This is an auto-generated description by cubic. -->
<a
href="https://cubic.dev/pr/twentyhq/twenty/pull/24781?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
17bc065573e00279fb7e673d54f839bcdf69be6e
Parent: f891a6d
Committed by GitHub <noreply@github.com> on 8/25/2026, 3:40:11 PM