kusor / node-workflow-pg-backend

A backend for workflow built over PostgreSQL

Home Page:http://joyent.github.io/node-workflow/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No `prev_attempt` or `next_attempt` column on `wf_jobs` table.

aars opened this issue · comments

wf 0.10.0 combined with node-workflow-pg-backend 0.10.0 breaks on retrying jobs because the columns prev_attempt and next_attempt are missing from the table wf_jobs.

Simply adding those as UUID fields tables-definitions.js seems to resolve this issue. I am just started working with wf, so I'm not that confident that this is the only issue/fix. I'll submit a PR to go along with this question/issue.