fix(conversation): add explicit varchar type for intentType column

TypeORM requires explicit type for nullable string columns

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-01-23 08:30:03 -08:00
parent dd66c3a892
commit 8352578bd3
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ export class TokenUsageEntity {
estimatedCost: number;
// 意图类型
@Column({ name: 'intent_type', length: 30, nullable: true })
@Column({ name: 'intent_type', type: 'varchar', length: 30, nullable: true })
intentType: string | null;
// 工具调用次数