add migration query for chat history

This commit is contained in:
chungyau97
2023-09-14 14:50:56 +08:00
parent 0c71e62c2d
commit bc7d95cf9d
12 changed files with 75 additions and 8 deletions
@@ -20,6 +20,15 @@ export class ChatMessage implements IChatMessage {
@Column({ nullable: true, type: 'text' })
sourceDocuments?: string
@Column()
chatType: string
@Column({ nullable: true })
memoryType?: string
@Column({ nullable: true })
sessionId?: string
@CreateDateColumn()
createdDate: Date
}