Skip to content

Commit

Permalink
Add sql files for 7.1.0 version
Browse files Browse the repository at this point in the history
  • Loading branch information
tijsrademakers committed Oct 7, 2024
1 parent b8fe368 commit 9b49a1a
Show file tree
Hide file tree
Showing 15 changed files with 2,317 additions and 2,342 deletions.
1,075 changes: 472 additions & 603 deletions distro/sql/create/all/flowable.db2.all.create.sql

Large diffs are not rendered by default.

830 changes: 392 additions & 438 deletions distro/sql/create/all/flowable.mssql.all.create.sql

Large diffs are not rendered by default.

801 changes: 352 additions & 449 deletions distro/sql/create/all/flowable.mysql.all.create.sql

Large diffs are not rendered by default.

784 changes: 358 additions & 426 deletions distro/sql/create/all/flowable.oracle.all.create.sql

Large diffs are not rendered by default.

775 changes: 349 additions & 426 deletions distro/sql/create/all/flowable.postgres.all.create.sql

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
alter table ACT_RU_EVENT_SUBSCR add column SCOPE_DEFINITION_KEY_ varchar(255);

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'common.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'entitylink.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'identitylink.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'job.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'batch.schema.version';

alter table ACT_RU_TASK
add column STATE_ varchar(255)
add column IN_PROGRESS_TIME_ timestamp
add column IN_PROGRESS_STARTED_BY_ varchar(255)
add column CLAIMED_BY_ varchar(255)
add column SUSPENDED_TIME_ timestamp
add column SUSPENDED_BY_ varchar(255)
add column IN_PROGRESS_DUE_DATE_ timestamp;

alter table ACT_HI_TASKINST
add column STATE_ varchar(255)
add column IN_PROGRESS_TIME_ timestamp
add column IN_PROGRESS_STARTED_BY_ varchar(255)
add column CLAIMED_BY_ varchar(255)
add column SUSPENDED_TIME_ timestamp
add column SUSPENDED_BY_ varchar(255)
add column COMPLETED_BY_ varchar(255)
add column IN_PROGRESS_DUE_DATE_ timestamp;

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'task.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'variable.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'schema.version';

update ACT_ID_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'schema.version';
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
create index ACT_IDX_ACT_HI_TSK_LOG_TASK on ACT_HI_TSK_LOG(TASK_ID_);

delete from ACT_GE_PROPERTY where NAME_ = 'batch.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'entitylink.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'eventsubscription.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'identitylink.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'job.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'task.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'variable.schema.version';

create index ACT_IDX_EVENT_SUBSCR_PROC_ID on ACT_RU_EVENT_SUBSCR(PROC_INST_ID_);

update ACT_GE_PROPERTY set VALUE_ = '7.1.0.2' where NAME_ = 'common.schema.version';

insert into ACT_GE_PROPERTY
values ('app.schema.version', '7.1.0.2', 1);

drop table ACT_APP_DATABASECHANGELOG;
drop table ACT_APP_DATABASECHANGELOGLOCK;

insert into ACT_GE_PROPERTY
values ('cmmn.schema.version', '7.1.0.2', 1);

drop table ACT_CMMN_DATABASECHANGELOG;
drop table ACT_CMMN_DATABASECHANGELOGLOCK;

insert into ACT_GE_PROPERTY
values ('dmn.schema.version', '7.1.0.2', 1);

drop table ACT_DMN_DATABASECHANGELOG;
drop table ACT_DMN_DATABASECHANGELOGLOCK;

insert into ACT_GE_PROPERTY
values ('eventregistry.schema.version', '7.1.0.2', 1);

drop table FLW_EV_DATABASECHANGELOG;
drop table FLW_EV_DATABASECHANGELOGLOCK;

update ACT_GE_PROPERTY set VALUE_ = '7.1.0.2' where NAME_ = 'schema.version';

update ACT_ID_PROPERTY set VALUE_ = '7.1.0.2' where NAME_ = 'schema.version';
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
alter table ACT_RU_EVENT_SUBSCR add SCOPE_DEFINITION_KEY_ nvarchar(255);

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'common.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'entitylink.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'identitylink.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'job.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'batch.schema.version';

alter table ACT_RU_TASK add STATE_ nvarchar(255);
alter table ACT_RU_TASK add IN_PROGRESS_TIME_ datetime;
alter table ACT_RU_TASK add IN_PROGRESS_STARTED_BY_ nvarchar(255);
alter table ACT_RU_TASK add CLAIMED_BY_ nvarchar(255);
alter table ACT_RU_TASK add SUSPENDED_TIME_ datetime;
alter table ACT_RU_TASK add SUSPENDED_BY_ nvarchar(255);
alter table ACT_RU_TASK add IN_PROGRESS_DUE_DATE_ datetime;

alter table ACT_HI_TASKINST add STATE_ nvarchar(255);
alter table ACT_HI_TASKINST add IN_PROGRESS_TIME_ datetime;
alter table ACT_HI_TASKINST add IN_PROGRESS_STARTED_BY_ nvarchar(255);
alter table ACT_HI_TASKINST add CLAIMED_BY_ nvarchar(255);
alter table ACT_HI_TASKINST add SUSPENDED_TIME_ datetime;
alter table ACT_HI_TASKINST add SUSPENDED_BY_ nvarchar(255);
alter table ACT_HI_TASKINST add COMPLETED_BY_ nvarchar(255);
alter table ACT_HI_TASKINST add IN_PROGRESS_DUE_DATE_ datetime;

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'task.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'variable.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'schema.version';

update ACT_ID_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'schema.version';
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
create index ACT_IDX_ACT_HI_TSK_LOG_TASK on ACT_HI_TSK_LOG(TASK_ID_);

delete from ACT_GE_PROPERTY where NAME_ = 'batch.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'entitylink.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'eventsubscription.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'identitylink.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'job.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'task.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'variable.schema.version';

create index ACT_IDX_EVENT_SUBSCR_PROC_ID on ACT_RU_EVENT_SUBSCR(PROC_INST_ID_);

update ACT_GE_PROPERTY set VALUE_ = '7.1.0.2' where NAME_ = 'common.schema.version';

insert into ACT_GE_PROPERTY
values ('app.schema.version', '7.1.0.2', 1);

drop table ACT_APP_DATABASECHANGELOG;
drop table ACT_APP_DATABASECHANGELOGLOCK;

insert into ACT_GE_PROPERTY
values ('cmmn.schema.version', '7.1.0.2', 1);

drop table ACT_CMMN_DATABASECHANGELOG;
drop table ACT_CMMN_DATABASECHANGELOGLOCK;

insert into ACT_GE_PROPERTY
values ('dmn.schema.version', '7.1.0.2', 1);

drop table ACT_DMN_DATABASECHANGELOG;
drop table ACT_DMN_DATABASECHANGELOGLOCK;

insert into ACT_GE_PROPERTY
values ('eventregistry.schema.version', '7.1.0.2', 1);

drop table FLW_EV_DATABASECHANGELOG;
drop table FLW_EV_DATABASECHANGELOGLOCK;

update ACT_GE_PROPERTY set VALUE_ = '7.1.0.2' where NAME_ = 'schema.version';

update ACT_ID_PROPERTY set VALUE_ = '7.1.0.2' where NAME_ = 'schema.version';
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
alter table ACT_RU_EVENT_SUBSCR add column SCOPE_DEFINITION_KEY_ varchar(255);

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'common.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'entitylink.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'identitylink.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'job.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'batch.schema.version';

alter table ACT_RU_TASK add column (
STATE_ varchar(255),
IN_PROGRESS_TIME_ datetime(3),
IN_PROGRESS_STARTED_BY_ varchar(255),
CLAIMED_BY_ varchar(255),
SUSPENDED_TIME_ datetime(3),
SUSPENDED_BY_ varchar(255),
IN_PROGRESS_DUE_DATE_ datetime(3));

alter table ACT_HI_TASKINST add column (
STATE_ varchar(255),
IN_PROGRESS_TIME_ datetime(3),
IN_PROGRESS_STARTED_BY_ varchar(255),
CLAIMED_BY_ varchar(255),
SUSPENDED_TIME_ datetime(3),
SUSPENDED_BY_ varchar(255),
COMPLETED_BY_ varchar(255),
IN_PROGRESS_DUE_DATE_ datetime(3));

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'task.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'variable.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'schema.version';

update ACT_ID_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'schema.version';
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
create index ACT_IDX_ACT_HI_TSK_LOG_TASK on ACT_HI_TSK_LOG(TASK_ID_);

delete from ACT_GE_PROPERTY where NAME_ = 'batch.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'entitylink.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'eventsubscription.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'identitylink.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'job.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'task.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'variable.schema.version';

create index ACT_IDX_EVENT_SUBSCR_EXEC_ID on ACT_RU_EVENT_SUBSCR(EXECUTION_ID_);
create index ACT_IDX_EVENT_SUBSCR_PROC_ID on ACT_RU_EVENT_SUBSCR(PROC_INST_ID_);

update ACT_GE_PROPERTY set VALUE_ = '7.1.0.2' where NAME_ = 'common.schema.version';

insert into ACT_GE_PROPERTY
values ('app.schema.version', '7.1.0.2', 1);

drop table ACT_APP_DATABASECHANGELOG;
drop table ACT_APP_DATABASECHANGELOGLOCK;

insert into ACT_GE_PROPERTY
values ('cmmn.schema.version', '7.1.0.2', 1);

drop table ACT_CMMN_DATABASECHANGELOG;
drop table ACT_CMMN_DATABASECHANGELOGLOCK;

insert into ACT_GE_PROPERTY
values ('dmn.schema.version', '7.1.0.2', 1);

drop table ACT_DMN_DATABASECHANGELOG;
drop table ACT_DMN_DATABASECHANGELOGLOCK;

insert into ACT_GE_PROPERTY
values ('eventregistry.schema.version', '7.1.0.2', 1);

drop table FLW_EV_DATABASECHANGELOG;
drop table FLW_EV_DATABASECHANGELOGLOCK;

update ACT_GE_PROPERTY set VALUE_ = '7.1.0.2' where NAME_ = 'schema.version';

update ACT_ID_PROPERTY set VALUE_ = '7.1.0.2' where NAME_ = 'schema.version';
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
alter table ACT_RU_EVENT_SUBSCR add SCOPE_DEFINITION_KEY_ NVARCHAR2(255);

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'common.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'entitylink.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'identitylink.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'job.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'batch.schema.version';

alter table ACT_RU_TASK add (
STATE_ NVARCHAR2(255),
IN_PROGRESS_TIME_ TIMESTAMP(6),
IN_PROGRESS_STARTED_BY_ NVARCHAR2(255),
CLAIMED_BY_ NVARCHAR2(255),
SUSPENDED_TIME_ TIMESTAMP(6),
SUSPENDED_BY_ NVARCHAR2(255),
IN_PROGRESS_DUE_DATE_ TIMESTAMP(6));

alter table ACT_HI_TASKINST add (
STATE_ NVARCHAR2(255),
IN_PROGRESS_TIME_ TIMESTAMP(6),
IN_PROGRESS_STARTED_BY_ NVARCHAR2(255),
CLAIMED_BY_ NVARCHAR2(255),
SUSPENDED_TIME_ TIMESTAMP(6),
SUSPENDED_BY_ NVARCHAR2(255),
COMPLETED_BY_ NVARCHAR2(255),
IN_PROGRESS_DUE_DATE_ TIMESTAMP(6));

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'task.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'variable.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'schema.version';

update ACT_ID_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'schema.version';
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
create index ACT_IDX_ACT_HI_TSK_LOG_TASK on ACT_HI_TSK_LOG(TASK_ID_);

delete from ACT_GE_PROPERTY where NAME_ = 'batch.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'entitylink.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'eventsubscription.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'identitylink.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'job.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'task.schema.version';
delete from ACT_GE_PROPERTY where NAME_ = 'variable.schema.version';

create index ACT_IDX_EVENT_SUBSCR_PROC_ID on ACT_RU_EVENT_SUBSCR(PROC_INST_ID_);

update ACT_GE_PROPERTY set VALUE_ = '7.1.0.2' where NAME_ = 'common.schema.version';

insert into ACT_GE_PROPERTY
values ('app.schema.version', '7.1.0.2', 1);

drop table ACT_APP_DATABASECHANGELOG;
drop table ACT_APP_DATABASECHANGELOGLOCK;

insert into ACT_GE_PROPERTY
values ('cmmn.schema.version', '7.1.0.2', 1);

drop table ACT_CMMN_DATABASECHANGELOG;
drop table ACT_CMMN_DATABASECHANGELOGLOCK;

insert into ACT_GE_PROPERTY
values ('dmn.schema.version', '7.1.0.2', 1);

drop table ACT_DMN_DATABASECHANGELOG;
drop table ACT_DMN_DATABASECHANGELOGLOCK;

insert into ACT_GE_PROPERTY
values ('eventregistry.schema.version', '7.1.0.2', 1);

drop table FLW_EV_DATABASECHANGELOG;
drop table FLW_EV_DATABASECHANGELOGLOCK;

update ACT_GE_PROPERTY set VALUE_ = '7.1.0.2' where NAME_ = 'schema.version';

update ACT_ID_PROPERTY set VALUE_ = '7.1.0.2' where NAME_ = 'schema.version';
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
alter table ACT_RU_EVENT_SUBSCR add column SCOPE_DEFINITION_KEY_ varchar(255);

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'common.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'entitylink.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'identitylink.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'job.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'batch.schema.version';

alter table ACT_RU_TASK
add column STATE_ varchar(255),
add column IN_PROGRESS_TIME_ timestamp,
add column IN_PROGRESS_STARTED_BY_ varchar(255),
add column CLAIMED_BY_ varchar(255),
add column SUSPENDED_TIME_ timestamp,
add column SUSPENDED_BY_ varchar(255),
add column IN_PROGRESS_DUE_DATE_ timestamp;

alter table ACT_HI_TASKINST
add column STATE_ varchar(255),
add column IN_PROGRESS_TIME_ timestamp,
add column IN_PROGRESS_STARTED_BY_ varchar(255),
add column CLAIMED_BY_ varchar(255),
add column SUSPENDED_TIME_ timestamp,
add column SUSPENDED_BY_ varchar(255),
add column COMPLETED_BY_ varchar(255),
add column IN_PROGRESS_DUE_DATE_ timestamp;

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'task.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'variable.schema.version';

update ACT_GE_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'schema.version';

update ACT_ID_PROPERTY set VALUE_ = '7.0.1.1' where NAME_ = 'schema.version';
Loading

0 comments on commit 9b49a1a

Please sign in to comment.