preserve previous user data

This commit is contained in:
chungyau97
2023-09-05 16:13:04 +08:00
parent 8a55aaff80
commit 0e891bfb3a
7 changed files with 29 additions and 29 deletions
@@ -22,7 +22,7 @@ export class ChatFlow implements IChatFlow {
@Column({ nullable: true })
apikeyid?: string
@Column({ nullable: true, type: 'text' })
@Column({ nullable: true })
chatbotConfig?: string
@CreateDateColumn()
@@ -17,7 +17,7 @@ export class ChatMessage implements IChatMessage {
@Column({ type: 'text' })
content: string
@Column({ nullable: true, type: 'text' })
@Column({ nullable: true })
sourceDocuments?: string
@CreateDateColumn()
@@ -13,7 +13,7 @@ export class Credential implements ICredential {
@Column()
credentialName: string
@Column({ type: 'text' })
@Column()
encryptedData: string
@CreateDateColumn()
@@ -19,10 +19,10 @@ export class Tool implements ITool {
@Column({ nullable: true })
iconSrc?: string
@Column({ nullable: true, type: 'text' })
@Column({ nullable: true })
schema?: string
@Column({ nullable: true, type: 'text' })
@Column({ nullable: true })
func?: string
@CreateDateColumn()