Commit graph

5 commits

Author SHA1 Message Date
ValueOn AG
564a1200c6 datamodel sctirc fk logic in one place 2026-04-26 18:11:42 +02:00
ValueOn AG
24f0c3e2eb cleanup internal marked exports 2026-04-26 08:31:35 +02:00
ValueOn AG
e942770ffc feat db-clean-ui and unified content udm 2026-04-16 23:13:05 +02:00
ValueOn AG
be9e47caad phase 2 i18n clean 2026-04-10 12:33:27 +02:00
ValueOn AG
75484c0f73 BREAKING CHANGE
API and persisted records use PowerOnModel system fields:
- sysCreatedAt, sysCreatedBy, sysModifiedAt, sysModifiedBy
Removed legacy JSON/DB field names:
- _createdAt, _createdBy, _modifiedAt, _modifiedBy
Frontend (frontend_nyla) and gateway call sites were updated accordingly.
Database:
- Bootstrap runs idempotent backfill (_migrateSystemFieldColumns) from old
  underscore columns and selected business duplicates into sys* where sys* IS NULL.
- Re-run app bootstrap against each PostgreSQL database after deploy.
- Optional: DROP INDEX IF EXISTS "idx_invitation_createdby" if an old index remains;
  new index: idx_invitation_syscreatedby on Invitation(sysCreatedBy).
Tests:
- RBAC integration tests aligned with current GROUP mandate filter and UserMandate-based
  UserConnection GROUP clause; buildRbacWhereClause(..., mandateId=...) must be passed
  explicitly (same as production request context).
2026-03-28 18:12:37 +01:00