it0/packages/shared/database/src
hailin a58417d092 fix: correct billing migration schema refs and testing mock TenantInfo
- 005-create-billing-tables.sql: replace all `it0_shared.tenants` with
  `public.tenants` and all `tenant_id VARCHAR(20)` with `tenant_id UUID`
  to match the actual server DB schema (public schema, UUID primary key)
- packages/shared/testing src/test-utils.ts: add new quota fields
  (maxServers, maxUsers, maxStandingOrders, maxAgentTokensPerMonth) to
  TEST_TENANT mock to satisfy the extended TenantInfo interface, fixing
  the @it0/testing TypeScript build error

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 21:22:02 -08:00
..
migrations fix: correct billing migration schema refs and testing mock TenantInfo 2026-03-03 21:22:02 -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: remove SQL comment lines before splitting to prevent filtering CREATE TABLE statements 2026-02-22 03:26:37 -08:00