feat(trigger-mode): added trigger-mode to workflow_blocks table (#902)

This commit is contained in:
Waleed Latif
2025-08-07 14:59:25 -07:00
committed by GitHub
parent de93e167af
commit d264a6ade8
4 changed files with 5872 additions and 0 deletions

View File

@@ -0,0 +1 @@
ALTER TABLE "workflow_blocks" ADD COLUMN "trigger_mode" boolean DEFAULT false NOT NULL;

File diff suppressed because it is too large Load Diff

View File

@@ -477,6 +477,13 @@
"when": 1754446277077,
"tag": "0068_fine_hardball",
"breakpoints": true
},
{
"idx": 69,
"version": "7",
"when": 1754603754177,
"tag": "0069_lonely_spirit",
"breakpoints": true
}
]
}

View File

@@ -162,6 +162,7 @@ export const workflowBlocks = pgTable(
horizontalHandles: boolean('horizontal_handles').notNull().default(true),
isWide: boolean('is_wide').notNull().default(false),
advancedMode: boolean('advanced_mode').notNull().default(false),
triggerMode: boolean('trigger_mode').notNull().default(false),
height: decimal('height').notNull().default('0'),
subBlocks: jsonb('sub_blocks').notNull().default('{}'),