Skip to content

Commit

Permalink
Closes Taskana#2397 - adjust the version to 7.0.0 in update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ryzheboka authored and gitgoodjhe committed Sep 29, 2023
1 parent 75070bd commit ef33757
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CREATE SEQUENCE TASKANA_SCHEMA_VERSION_ID_SEQ

-- The VERSION value must be equal or higher then the value of TaskanaEngineImpl.MINIMAL_TASKANA_SCHEMA_VERSION
INSERT INTO TASKANA_SCHEMA_VERSION (ID, VERSION, CREATED)
VALUES (TASKANA_SCHEMA_VERSION_ID_SEQ.NEXTVAL, '5.10.0', CURRENT_TIMESTAMP);
VALUES (TASKANA_SCHEMA_VERSION_ID_SEQ.NEXTVAL, '7.0.0', CURRENT_TIMESTAMP);

CREATE TABLE CLASSIFICATION
(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
-- this script updates the TASKANA database schema from version 6.2.0 to version 6.4.0.
-- this script updates the TASKANA database schema from version 6.2.0 to version 7.0.0.
SET SCHEMA %schemaName%;

INSERT INTO TASKANA_SCHEMA_VERSION (ID, VERSION, CREATED)
VALUES (nextval('TASKANA_SCHEMA_VERSION_ID_SEQ'), '6.4.0', CURRENT_TIMESTAMP);
VALUES (nextval('TASKANA_SCHEMA_VERSION_ID_SEQ'), '7.0.0', CURRENT_TIMESTAMP);

CREATE TABLE PERMISSION_INFO
(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ CREATE SEQUENCE TASKANA_SCHEMA_VERSION_ID_SEQ

-- The VERSION value must be equal or higher then the value of TaskanaEngineImpl.MINIMAL_TASKANA_SCHEMA_VERSION
INSERT INTO TASKANA_SCHEMA_VERSION (ID, VERSION, CREATED)
VALUES (nextval('TASKANA_SCHEMA_VERSION_ID_SEQ'), '5.10.0', CURRENT_TIMESTAMP);
VALUES (nextval('TASKANA_SCHEMA_VERSION_ID_SEQ'), '7.0.0', CURRENT_TIMESTAMP);

CREATE TABLE CLASSIFICATION
(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- this script updates the TASKANA database schema from version 6.2.0 to version 6.4.0.
-- this script updates the TASKANA database schema from version 6.2.0 to version 7.0.0.

INSERT INTO TASKANA_SCHEMA_VERSION (ID, VERSION, CREATED)
VALUES (nextval('TASKANA_SCHEMA_VERSION_ID_SEQ'), '6.4.0', CURRENT_TIMESTAMP);
VALUES (nextval('TASKANA_SCHEMA_VERSION_ID_SEQ'), '7.0.0', CURRENT_TIMESTAMP);

CREATE TABLE PERMISSION_INFO
(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ CREATE SEQUENCE TASKANA_SCHEMA_VERSION_ID_SEQ

-- The VERSION value must be equal or higher then the value of TaskanaEngineImpl.MINIMAL_TASKANA_SCHEMA_VERSION
INSERT INTO TASKANA_SCHEMA_VERSION (ID, VERSION, CREATED)
VALUES (TASKANA_SCHEMA_VERSION_ID_SEQ.NEXTVAL, '5.10.0', CURRENT_TIMESTAMP);
VALUES (TASKANA_SCHEMA_VERSION_ID_SEQ.NEXTVAL, '7.0.0', CURRENT_TIMESTAMP);

CREATE TABLE CLASSIFICATION
(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
-- this script updates the TASKANA database schema from version 6.2.0 to version 6.4.0.
-- this script updates the TASKANA database schema from version 6.2.0 to version 7.0.0.
ALTER SESSION SET CURRENT_SCHEMA = %schemaName%;

INSERT INTO TASKANA_SCHEMA_VERSION (ID, VERSION, CREATED)
VALUES (nextval('TASKANA_SCHEMA_VERSION_ID_SEQ'), '6.4.0', CURRENT_TIMESTAMP);
VALUES (nextval('TASKANA_SCHEMA_VERSION_ID_SEQ'), '7.0.0', CURRENT_TIMESTAMP);

CREATE TABLE PERMISSION_INFO
(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ CREATE SEQUENCE TASKANA_SCHEMA_VERSION_ID_SEQ

-- The VERSION value must be equal or higher then the value of TaskanaEngineImpl.MINIMAL_TASKANA_SCHEMA_VERSION
INSERT INTO TASKANA_SCHEMA_VERSION (ID, VERSION, CREATED)
VALUES (nextval('TASKANA_SCHEMA_VERSION_ID_SEQ'), '5.10.0', CURRENT_TIMESTAMP);
VALUES (nextval('TASKANA_SCHEMA_VERSION_ID_SEQ'), '7.0.0', CURRENT_TIMESTAMP);

CREATE TABLE CLASSIFICATION
(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
-- this script updates the TASKANA database schema from version 6.2.0 to version 6.4.0.
-- this script updates the TASKANA database schema from version 6.2.0 to version 7.0.0.

SET search_path = %schemaName%;

INSERT INTO TASKANA_SCHEMA_VERSION (ID, VERSION, CREATED)
VALUES (nextval('TASKANA_SCHEMA_VERSION_ID_SEQ'), '6.4.0', CURRENT_TIMESTAMP);
VALUES (nextval('TASKANA_SCHEMA_VERSION_ID_SEQ'), '7.0.0', CURRENT_TIMESTAMP);

CREATE TABLE PERMISSION_INFO
(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

/** The TaskanaEngine represents an overall set of all needed services. */
public interface TaskanaEngine {
String MINIMAL_TASKANA_SCHEMA_VERSION = "5.2.0";
String MINIMAL_TASKANA_SCHEMA_VERSION = "7.0.0";

/**
* Returns a {@linkplain TaskService} initialized with the current TaskanaEngine. {@linkplain
Expand Down

0 comments on commit ef33757

Please sign in to comment.