diff --git a/backend/src/main/resources/db/changelog/db.changelog-master.yaml b/backend/src/main/resources/db/changelog/db.changelog-master.yaml index 512b24e9..7a13f6fb 100644 --- a/backend/src/main/resources/db/changelog/db.changelog-master.yaml +++ b/backend/src/main/resources/db/changelog/db.changelog-master.yaml @@ -41,3 +41,6 @@ databaseChangeLog: - include: file: db.changelog-v2.yaml relativeToChangelogFile: true + - include: + file: db.changelog-v3.yaml + relativeToChangelogFile: true diff --git a/backend/src/main/resources/db/changelog/db.changelog-v3.yaml b/backend/src/main/resources/db/changelog/db.changelog-v3.yaml new file mode 100644 index 00000000..d7c23392 --- /dev/null +++ b/backend/src/main/resources/db/changelog/db.changelog-v3.yaml @@ -0,0 +1,93 @@ +############################################################### +# Copyright (c) 2021-2023 Robert Bosch Manufacturing Solutions GmbH +# Copyright (c) 2021-2023 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License, Version 2.0 which is available at +# https://www.apache.org/licenses/LICENSE-2.0. +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# +# SPDX-License-Identifier: Apache-2.0 +############################################################### + +databaseChangeLog: + - changeSet: + id: 06092023-01 + author: slindner + changes: + - modifyDataType: + tableName: SHELL + columnName: ID_EXTERNAL + newDataType: NVARCHAR(2000) + - modifyDataType: + tableName: SHELL + columnName: ID_SHORT + newDataType: NVARCHAR(128) + - modifyDataType: + tableName: SHELL + columnName: SHELL_TYPE + newDataType: NVARCHAR(2000) + - modifyDataType: + tableName: SHELL_IDENTIFIER + columnName: IDENTIFIER + newDataType: NVARCHAR(2000) + - modifyDataType: + tableName: SHELL_DESCRIPTION + columnName: LANGUAGE + newDataType: NVARCHAR(64) + - modifyDataType: + tableName: SHELL_DESCRIPTION + columnName: TEXT + newDataType: NVARCHAR(1023) + - modifyDataType: + tableName: SHELL_DISPLAY_NAME + columnName: LANGUAGE + newDataType: NVARCHAR(64) + - modifyDataType: + tableName: SUBMODEL_DISPLAY_NAME + columnName: LANGUAGE + newDataType: NVARCHAR(64) + - modifyDataType: + tableName: SUBMODEL + columnName: ID_EXTERNAL + newDataType: NVARCHAR(2000) + - modifyDataType: + tableName: SUBMODEL + columnName: ID_SHORT + newDataType: NVARCHAR(128) + - modifyDataType: + tableName: SUBMODEL_DESCRIPTION + columnName: LANGUAGE + newDataType: NVARCHAR(64) + - modifyDataType: + tableName: SUBMODEL_DESCRIPTION + columnName: TEXT + newDataType: NVARCHAR(1023) + - modifyDataType: + tableName: SUBMODEL_ENDPOINT + columnName: ENDPOINT_ADDRESS + newDataType: NVARCHAR(2048) + - modifyDataType: + tableName: SUBMODEL_ENDPOINT + columnName: ENDPOINT_PROTOCOL + newDataType: NVARCHAR(128) + - modifyDataType: + tableName: SUBMODEL_ENDPOINT + columnName: ENDPOINT_PROTOCOL_VERSION + newDataType: NVARCHAR(128) + - modifyDataType: + tableName: SUBMODEL_ENDPOINT + columnName: SUB_PROTOCOL + newDataType: NVARCHAR(128) + - modifyDataType: + tableName: SUBMODEL_ENDPOINT + columnName: SUB_PROTOCOL_BODY_ENCODING + newDataType: NVARCHAR(128) \ No newline at end of file