iconsulting/packages/services
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-service fix(conversation): use VARCHAR instead of enum for consistency with init-db.sql 2026-01-23 05:06:36 -08:00
evolution-service fix(schema): sync ORM entities with database schema 2026-01-23 05:00:38 -08:00
file-service fix(file-service): specify explicit column types for TypeORM entities 2026-01-10 06:05:36 -08:00
knowledge-service fix(db): use POSTGRES_* env vars in knowledge and evolution services 2026-01-10 02:57:39 -08:00
payment-service fix(payment): use PORT env variable instead of PAYMENT_SERVICE_PORT 2026-01-10 02:48:44 -08:00
user-service fix(health): exclude /health endpoint from API prefix 2026-01-10 02:30:24 -08:00