add text into potential large column

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