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
name: string
flowData: string
isPublic: boolean
deployed: boolean
updatedDate: Date
createdDate: Date
isPublic?: boolean
apikeyid?: string
chatbotConfig?: string
}
+4 -1
View File
@@ -14,7 +14,10 @@ export class ChatFlow implements IChatFlow {
flowData: string
@Column()
isPublic: boolean
deployed: boolean
@Column({ nullable: true })
isPublic?: boolean
@Column({ nullable: true })
apikeyid?: string
+1
View File
@@ -201,6 +201,7 @@ const Canvas = () => {
if (!chatflow.id) {
const newChatflowBody = {
name: chatflowName,
deployed: false,
isPublic: false,
flowData
}