fix(): workflow engine migration issue (#13629)

**What**
The extension creation have been pushed by mistake
This commit is contained in:
Adrien de Peretti
2025-09-30 17:41:09 +02:00
committed by GitHub
parent 0c7cbfb2e7
commit 5b135a41fe
2 changed files with 5 additions and 7 deletions

View File

@@ -5,13 +5,6 @@ export class Migration20250819104213 extends Migration {
this.addSql(
`CREATE INDEX IF NOT EXISTS "IDX_workflow_execution_run_id" ON "workflow_execution" (run_id) WHERE deleted_at IS NULL;`
)
this
.addSql(`CREATE EXTENSION IF NOT EXISTS pgcrypto; -- required for gen_random_uuid()
`)
this.addSql(
`ALTER TABLE "workflow_execution" ALTER COLUMN "id" SET DEFAULT 'wf_exec_' || encode(gen_random_bytes(6), 'hex');`
)
}
override async down(): Promise<void> {