iconsulting/packages/services/conversation-service
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
..
src fix(conversation): use VARCHAR instead of enum for consistency with init-db.sql 2026-01-23 05:06:36 -08:00
Dockerfile fix: 使用jq正确处理package.json移除workspace依赖 2026-01-09 08:49:41 -08:00
nest-cli.json Initial commit: iConsulting 香港移民咨询智能客服系统 2026-01-09 00:01:12 -08:00
package.json refactor: simplify Anthropic client config using baseURL 2026-01-09 20:45:44 -08:00
tsconfig.json Initial commit: iConsulting 香港移民咨询智能客服系统 2026-01-09 00:01:12 -08:00