Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-18 23:42:18 +00:00
co-authored by renee-png
parent 7a0fb314c3
commit e4b17c1f8c
2 changed files with 44 additions and 0 deletions
+30
View File
@@ -657,8 +657,10 @@ export type Database = {
id: string
sort_order: number
stage_key: string | null
template_task_id: string | null
title: string
updated_at: string
workflow_template_id: string | null
}
Insert: {
assignee_id?: string | null
@@ -671,8 +673,10 @@ export type Database = {
id?: string
sort_order?: number
stage_key?: string | null
template_task_id?: string | null
title: string
updated_at?: string
workflow_template_id?: string | null
}
Update: {
assignee_id?: string | null
@@ -685,8 +689,10 @@ export type Database = {
id?: string
sort_order?: number
stage_key?: string | null
template_task_id?: string | null
title?: string
updated_at?: string
workflow_template_id?: string | null
}
Relationships: [
{
@@ -710,6 +716,20 @@ export type Database = {
referencedRelation: "collection_workflow_stages"
referencedColumns: ["key"]
},
{
foreignKeyName: "collection_tasks_template_task_id_fkey"
columns: ["template_task_id"]
isOneToOne: false
referencedRelation: "workflow_template_tasks"
referencedColumns: ["id"]
},
{
foreignKeyName: "collection_tasks_workflow_template_id_fkey"
columns: ["workflow_template_id"]
isOneToOne: false
referencedRelation: "workflow_templates"
referencedColumns: ["id"]
},
]
}
collection_workflow_stages: {
@@ -2701,6 +2721,7 @@ export type Database = {
priority: Database["public"]["Enums"]["task_priority"]
sort_order: number
status: Database["public"]["Enums"]["task_status"]
template_task_id: string | null
title: string
updated_at: string
workflow_template_id: string | null
@@ -2719,6 +2740,7 @@ export type Database = {
priority?: Database["public"]["Enums"]["task_priority"]
sort_order?: number
status?: Database["public"]["Enums"]["task_status"]
template_task_id?: string | null
title: string
updated_at?: string
workflow_template_id?: string | null
@@ -2737,6 +2759,7 @@ export type Database = {
priority?: Database["public"]["Enums"]["task_priority"]
sort_order?: number
status?: Database["public"]["Enums"]["task_status"]
template_task_id?: string | null
title?: string
updated_at?: string
workflow_template_id?: string | null
@@ -2756,6 +2779,13 @@ export type Database = {
referencedRelation: "tasks"
referencedColumns: ["id"]
},
{
foreignKeyName: "tasks_template_task_id_fkey"
columns: ["template_task_id"]
isOneToOne: false
referencedRelation: "workflow_template_tasks"
referencedColumns: ["id"]
},
{
foreignKeyName: "tasks_workflow_template_id_fkey"
columns: ["workflow_template_id"]