gateway/scripts
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
..
function_imports_analysis.txt refactored pages ui access with saas mandates 2026-01-23 21:05:47 +01:00
import_analysis.csv refactored pages ui access with saas mandates 2026-01-23 21:05:47 +01:00
import_diagram.drawio refactored features phase II 2026-01-23 01:10:00 +01:00
import_diagram_containers.drawio refactored features phase II 2026-01-23 01:10:00 +01:00
migrate_async_to_sync.py Cleaned backend and enhanced ai call failover modes 2026-03-17 22:51:05 +01:00
script_analyze_function_imports.py refactored features phase II 2026-01-23 01:10:00 +01:00
script_analyze_imports.py fixed imports 2026-01-22 21:11:25 +01:00
script_db_adapt_to_models.py saas multi-mandate rbac up and running 2026-01-21 10:34:42 +01:00
script_db_cleanup_duplicate_roles.py saas multi-mandate rbac up and running 2026-01-21 10:34:42 +01:00
script_db_export_migration.py BREAKING CHANGE 2026-03-28 18:12:37 +01:00
script_db_init_automation2.py basic functionality 2026-03-22 16:15:11 +01:00
script_db_init_chatbot.py nicht fertig; Stand Kessler Demo 2026-02-26 16:00:26 +01:00
script_db_migrate_accessrules_objectkeys.py trustee connections 2026-02-21 00:56:53 +01:00
script_export_accessrules.py rbac rules tested and fixed 2026-01-25 03:01:01 +01:00
script_generate_container_diagram.py refactored features phase II 2026-01-23 01:10:00 +01:00
script_generate_import_diagram.py refactored features phase II 2026-01-23 01:10:00 +01:00
script_remove_redundant_imports.py refactored features phase II 2026-01-23 01:10:00 +01:00
script_security_encrypt_all_env_files.py saas multi-mandate rbac up and running 2026-01-21 10:34:42 +01:00
script_security_encrypt_config_value.py saas multi-mandate rbac up and running 2026-01-21 10:34:42 +01:00
script_security_generate_master_keys.py saas multi-mandate rbac up and running 2026-01-21 10:34:42 +01:00
script_stats_durations_from_log.py saas multi-mandate rbac up and running 2026-01-21 10:34:42 +01:00
script_stats_get_codelines.py saas multi-mandate rbac up and running 2026-01-21 10:34:42 +01:00
script_stats_showUnusedFunctions.py saas multi-mandate rbac up and running 2026-01-21 10:34:42 +01:00