feat(versions): added the ability to rename deployment versions (#1610)

This commit is contained in:
Waleed
2025-10-11 21:18:36 -07:00
committed by GitHub
parent b10b2461a5
commit 1de6f09069
8 changed files with 7155 additions and 14 deletions

View File

@@ -0,0 +1 @@
ALTER TABLE "workflow_deployment_version" ADD COLUMN "name" text;

File diff suppressed because it is too large Load Diff

View File

@@ -687,6 +687,13 @@
"when": 1760206888564,
"tag": "0098_thick_prima",
"breakpoints": true
},
{
"idx": 99,
"version": "7",
"when": 1760240967304,
"tag": "0099_deep_sir_ram",
"breakpoints": true
}
]
}

View File

@@ -1317,6 +1317,7 @@ export const workflowDeploymentVersion = pgTable(
.notNull()
.references(() => workflow.id, { onDelete: 'cascade' }),
version: integer('version').notNull(),
name: text('name'),
state: json('state').notNull(),
isActive: boolean('is_active').notNull().default(false),
createdAt: timestamp('created_at').notNull().defaultNow(),