Merge "Code review cleanup for: Add kafka messaging support to integration test module"
[cps.git] / cps-ri / src / main / resources / changelog / db / changes / 20-change-foreign-key-id-types-to-integer.yaml
1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2023 Nordix Foundation.
3 # ================================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #
16 # SPDX-License-Identifier: Apache-2.0
17 # ============LICENSE_END=========================================================
18
19 databaseChangeLog:
20   - changeSet:
21       author: cps
22       id: 20
23       changes:
24         - modifyDataType:
25             columnName: dataspace_id
26             newDataType: INTEGER
27             tableName: schema_set
28         - modifyDataType:
29             columnName: schema_set_id
30             newDataType: INTEGER
31             tableName: schema_set_yang_resources
32         - modifyDataType:
33             columnName: yang_resource_id
34             newDataType: INTEGER
35             tableName: schema_set_yang_resources
36       rollback:
37         - modifyDataType:
38             columnName: dataspace_id
39             newDataType: BIGINT
40             tableName: schema_set
41         - modifyDataType:
42             columnName: schema_set_id
43             newDataType: BIGINT
44             tableName: schema_set_yang_resources
45         - modifyDataType:
46             columnName: yang_resource_id
47             newDataType: BIGINT
48             tableName: schema_set_yang_resources