- 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> |
||
|---|---|---|
| .. | ||
| src | ||
| Dockerfile | ||
| nest-cli.json | ||
| package.json | ||
| tsconfig.json | ||