Merge pull request #485 from FlowiseAI/bugfix/SQ_LITE_NOT_NULL

Bugfix/SQLITE_NOT_NULL
This commit is contained in:
Henry Heng
2023-07-05 18:42:44 +01:00
committed by GitHub
3 changed files with 7 additions and 2 deletions
+2 -1
View File
@@ -9,9 +9,10 @@ export interface IChatFlow {
id: string id: string
name: string name: string
flowData: string flowData: string
isPublic: boolean deployed: boolean
updatedDate: Date updatedDate: Date
createdDate: Date createdDate: Date
isPublic?: boolean
apikeyid?: string apikeyid?: string
chatbotConfig?: string chatbotConfig?: string
} }
+4 -1
View File
@@ -14,7 +14,10 @@ export class ChatFlow implements IChatFlow {
flowData: string flowData: string
@Column() @Column()
isPublic: boolean deployed: boolean
@Column({ nullable: true })
isPublic?: boolean
@Column({ nullable: true }) @Column({ nullable: true })
apikeyid?: string apikeyid?: string
+1
View File
@@ -201,6 +201,7 @@ const Canvas = () => {
if (!chatflow.id) { if (!chatflow.id) {
const newChatflowBody = { const newChatflowBody = {
name: chatflowName, name: chatflowName,
deployed: false,
isPublic: false, isPublic: false,
flowData flowData
} }