perl-workflow / perl-workflow

Workflow - simple, flexible system to implement workflows/state machines

Home Page:https://jonasbn.github.io/perl-workflow/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PR #85 introduced a bug fetching workflow history

ehuelsmann opened this issue · comments

Issue Template

Description

DBD::Pg::st execute failed: ERROR: relation "workflow_id" does not exist LINE 3: FROM "workflow_id" ^ at /usr/local/share/perl/5.28.1/Workflow/Persister/DBI.pm line 392

Where the SQL being executed is:

        SELECT "workflow_hist_id", "workflow_id", "action", "description", "state", "workflow_user", "history_date"
          FROM "workflow_id"
         WHERE "history_date" = ?
      ORDER BY workflow_history DESC

the table name should be workflow_history, not workflow_id

Bugs and Issues

Specify what version was used

1.51