scripts.db.update-5.7.0-x.postgresql.update.ddl.sql Maven / Gradle / Ivy
alter table nflow_workflow add priority smallint not null default 0;
alter table nflow_archive_workflow add priority smallint null;
drop index if exists nflow_workflow_polling;
create index nflow_workflow_polling on nflow_workflow(next_activation, status, executor_id, executor_group) where next_activation is not null;
drop index if exists nflow_workflow_activation;