it0/packages/shared/database/src
hailin a24eb84e13 fix(provisioning): prevent search_path pool contamination via SET LOCAL + RESET
- Change SET search_path to SET LOCAL in tenant schema template (002)
  so it reverts on COMMIT and doesn't contaminate the connection pool
- Add RESET search_path before queryRunner.release() as defensive measure
- Add ALTER TABLE public.tenants admin_email DROP NOT NULL to migration 007
  to sync the direct server change back to source

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 04:04:53 -08:00
..
migrations fix(provisioning): prevent search_path pool contamination via SET LOCAL + RESET 2026-03-07 04:04:53 -08:00
seeds Initial commit: IT0 AI-powered server cluster operations platform 2026-02-08 22:54:37 -08:00
data-source.ts Initial commit: IT0 AI-powered server cluster operations platform 2026-02-08 22:54:37 -08:00
database.module.ts fix: add SnakeNamingStrategy for TypeORM to match snake_case DB columns 2026-02-22 00:10:08 -08:00
index.ts fix: add SnakeNamingStrategy for TypeORM to match snake_case DB columns 2026-02-22 00:10:08 -08:00
run-migrations.ts feat: implement complete commercial monetization loop (Phases 1-4) 2026-03-03 21:09:17 -08:00
snake-naming.strategy.ts fix: add SnakeNamingStrategy for TypeORM to match snake_case DB columns 2026-02-22 00:10:08 -08:00
tenant-aware.repository.ts fix: release QueryRunner connections to prevent pool exhaustion 2026-02-23 15:55:06 -08:00
tenant-context.middleware.ts feat: implement complete commercial monetization loop (Phases 1-4) 2026-03-03 21:09:17 -08:00
tenant-provisioning.service.ts fix(provisioning): prevent search_path pool contamination via SET LOCAL + RESET 2026-03-07 04:04:53 -08:00