[sql] Failed to execute: CREATE TABLE workflow_action ( id_action INT GENERATED BY DEFAULT AS IDENTITY(START WITH 1), name VARCHAR(255) DEFAULT NULL, description LONGVARCHAR DEFAULT NULL, id_workflow INT DEFAULT NULL, id_state_after INT DEFAULT NULL, id_alternative_state_after INT NOT NULL DEFAULT -1, id_icon INT DEFAULT NULL, is_automatic SMALLINT DEFAULT 0, is_mass_action SMALLINT DEFAULT 0, display_order INT DEFAULT 0, is_automatic_reflexive_action SMALLINT DEFAULT 0, uid_action VARCHAR(255) DEFAULT NULL, PRIMARY KEY (id_action) )
[sql] Failed to execute: CREATE INDEX action_id_workflow_fk ON workflow_action(id_workflow)
[sql] Failed to execute: CREATE INDEX action_id_state_after_fk ON workflow_action(id_state_after)
[sql] Failed to execute: CREATE INDEX action_id_icon_fk ON workflow_action(id_icon)
[sql] Failed to execute: ALTER TABLE workflow_action ADD CONSTRAINT fk_action_id_workflow FOREIGN KEY (id_workflow) REFERENCES workflow_workflow(id_workflow) ON DELETE RESTRICT ON UPDATE RESTRICT
[sql] Failed to execute: ALTER TABLE workflow_action ADD CONSTRAINT fk_action_id_state_after FOREIGN KEY (id_state_after) REFERENCES workflow_state(id_state) ON DELETE RESTRICT ON UPDATE RESTRICT
[sql] Failed to execute: ALTER TABLE workflow_action ADD CONSTRAINT fk_action_id_icon FOREIGN KEY (id_icon) REFERENCES workflow_icon(id_icon) ON DELETE RESTRICT ON UPDATE RESTRICT
[sql] Failed to execute: ALTER TABLE workflow_resource_history ADD CONSTRAINT fk_history_id_action FOREIGN KEY (id_action) REFERENCES workflow_action(id_action) ON DELETE RESTRICT ON UPDATE RESTRICT
[sql] Failed to execute: ALTER TABLE workflow_task ADD CONSTRAINT fk_task_id_action FOREIGN KEY (id_action) REFERENCES workflow_action(id_action) ON DELETE RESTRICT ON UPDATE RESTRICT