Skip to content

Commit 8e13912

Browse files
authored
Merge pull request #485 from FlowiseAI/bugfix/SQ_LITE_NOT_NULL
Bugfix/SQLITE_NOT_NULL
2 parents 7608d74 + 9bca78b commit 8e13912

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

packages/server/src/Interface.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ export interface IChatFlow {
99
id: string
1010
name: string
1111
flowData: string
12-
isPublic: boolean
12+
deployed: boolean
1313
updatedDate: Date
1414
createdDate: Date
15+
isPublic?: boolean
1516
apikeyid?: string
1617
chatbotConfig?: string
1718
}

packages/server/src/entity/ChatFlow.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ export class ChatFlow implements IChatFlow {
1414
flowData: string
1515

1616
@Column()
17-
isPublic: boolean
17+
deployed: boolean
18+
19+
@Column({ nullable: true })
20+
isPublic?: boolean
1821

1922
@Column({ nullable: true })
2023
apikeyid?: string

packages/ui/src/views/canvas/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ const Canvas = () => {
201201
if (!chatflow.id) {
202202
const newChatflowBody = {
203203
name: chatflowName,
204+
deployed: false,
204205
isPublic: false,
205206
flowData
206207
}

0 commit comments

Comments
 (0)