diff --git a/common/taskana-common/src/main/resources/sql/db2/taskana_schema_update_6.2.0_to_7.0.0_db2.sql b/common/taskana-common/src/main/resources/sql/db2/taskana_schema_update_6.2.0_to_7.0.0_db2.sql index 11d04a1d88..84c9b70dbd 100644 --- a/common/taskana-common/src/main/resources/sql/db2/taskana_schema_update_6.2.0_to_7.0.0_db2.sql +++ b/common/taskana-common/src/main/resources/sql/db2/taskana_schema_update_6.2.0_to_7.0.0_db2.sql @@ -2,7 +2,7 @@ SET SCHEMA %schemaName%; INSERT INTO TASKANA_SCHEMA_VERSION (ID, VERSION, CREATED) -VALUES (nextval('TASKANA_SCHEMA_VERSION_ID_SEQ'), '7.0.0', CURRENT_TIMESTAMP); +VALUES (TASKANA_SCHEMA_VERSION_ID_SEQ.NEXTVAL, '7.0.0', CURRENT_TIMESTAMP); CREATE TABLE PERMISSION_INFO (