
scripts.db.update-5.6.0-x.db2.update.ddl.sql Maven / Gradle / Ivy
alter table nflow_workflow add started timestamp(3);
alter table nflow_archive_workflow add started timestamp(3);
update nflow_workflow w, (select workflow_id, min(execution_start) as started from nflow_workflow_action group by workflow_id) a
set w.started = a.started, w.modified = w.modified where w.id = a.workflow_id;
update nflow_archive_workflow w, (select workflow_id, min(execution_start) as started from nflow_archive_workflow_action group by workflow_id) a
set w.started = a.started, w.modified = w.modified where w.id = a.workflow_id;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy