iconsulting/packages/services/conversation-service/src
hailin 10a2449d05 fix(conversation): use VARCHAR instead of enum for consistency with init-db.sql
- Change MessageEntity.role from enum to VARCHAR(20)
- Change MessageEntity.type from enum to VARCHAR(30)
- Change ConversationEntity.status from enum to VARCHAR(20)
- Add nullable: true to userId to match database schema
- Add length constraints to match database schema
- Convert enums to const objects with type exports for type safety

This ensures TypeORM entities match the database schema exactly,
avoiding potential issues with enum type creation in production.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 05:06:36 -08:00
..
conversation feat(multimodal): add file upload and image support for chat 2026-01-10 05:34:41 -08:00
domain/entities fix(conversation): use VARCHAR instead of enum for consistency with init-db.sql 2026-01-23 05:06:36 -08:00
health fix(docker): add health check endpoints and fix IPv6 issue 2026-01-10 02:13:42 -08:00
infrastructure feat(agent): add 4 real-time tools for enhanced agent capabilities 2026-01-23 00:46:55 -08:00
app.module.ts fix(docker): add health check endpoints and fix IPv6 issue 2026-01-10 02:13:42 -08:00
main.ts fix(health): exclude /health endpoint from API prefix 2026-01-10 02:30:24 -08:00