Skip to content

Commit

Permalink
adjust length of db fields
Browse files Browse the repository at this point in the history
  • Loading branch information
bs-sili committed Sep 7, 2023
1 parent a1bf8c1 commit 23d1240
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ databaseChangeLog:
- include:
file: db.changelog-v2.yaml
relativeToChangelogFile: true
- include:
file: db.changelog-v3.yaml
relativeToChangelogFile: true
93 changes: 93 additions & 0 deletions backend/src/main/resources/db/changelog/db.changelog-v3.yaml
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 23d1240

Please sign in to comment.