iconsulting/packages/services
hailin eb1cb9c496 fix(orm): add explicit PostgreSQL column types for nullable fields
Fixed TypeORM DataTypeNotSupportedError for "Object" type in PostgreSQL.

## Issues Fixed

1. **user-service/UserORM**
   - fingerprint: varchar(255)
   - phone: varchar(20)
   - nickname: varchar(100)
   - avatar: varchar(500)

2. **payment-service/PaymentORM**
   - transactionId: varchar(255)
   - currency: varchar(10)
   - expiresAt: timestamptz
   - paidAt: timestamptz

3. **conversation-service/MessageORM**
   - inputTokens: int
   - outputTokens: int

## Root Cause
@Column({ nullable: true }) without explicit `type` defaults to Object,
which PostgreSQL doesn't support.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 22:50:54 -08:00
..
conversation-service fix(orm): add explicit PostgreSQL column types for nullable fields 2026-01-24 22:50:54 -08:00
evolution-service refactor(services): implement 4-layer Clean Architecture for all backend services 2026-01-24 22:18:22 -08:00
file-service refactor(services): implement 4-layer Clean Architecture for all backend services 2026-01-24 22:18:22 -08:00
knowledge-service refactor(services): implement 4-layer Clean Architecture for all backend services 2026-01-24 22:18:22 -08:00
payment-service fix(orm): add explicit PostgreSQL column types for nullable fields 2026-01-24 22:50:54 -08:00
user-service fix(orm): add explicit PostgreSQL column types for nullable fields 2026-01-24 22:50:54 -08:00