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:
parent
dd66c3a892
commit
8352578bd3
|
|
@ -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;
|
||||
|
||||
// 工具调用次数
|
||||
|
|
|
|||
Loading…
Reference in New Issue