* Fixes #1947

* Lint fix

* fallback from timestamp with timezone to timestamp

---------

Co-authored-by: Emrah TOY <emrah.toy@mtekbilisim.com>
This commit is contained in:
Emrah TOY
2024-03-19 12:57:45 +03:00
committed by GitHub
parent ac02cde2fa
commit ec1bbc84bc
12 changed files with 75 additions and 9 deletions
@@ -11,7 +11,7 @@ export class ChatMessage implements IChatMessage {
role: MessageType
@Index()
@Column()
@Column({ type: 'uuid' })
chatflowid: string
@Column({ type: 'text' })
@@ -32,15 +32,16 @@ export class ChatMessage implements IChatMessage {
@Column()
chatType: string
@Column()
@Column({ type: 'uuid' })
chatId: string
@Column({ nullable: true })
memoryType?: string
@Column({ nullable: true })
@Column({ type: 'uuid', nullable: true })
sessionId?: string
@Column({type:'timestamp'})
@CreateDateColumn()
createdDate: Date
}