iconsulting/packages
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
..
admin-client fix(admin): correct 401 redirect path to include /admin prefix 2026-01-10 07:57:43 -08:00
services fix(conversation): use VARCHAR instead of enum for consistency with init-db.sql 2026-01-23 05:06:36 -08:00
shared Initial commit: iConsulting 香港移民咨询智能客服系统 2026-01-09 00:01:12 -08:00
web-client fix(chat): align input area elements vertically centered 2026-01-10 06:49:20 -08:00