diff options
author | Sourabh Sourabh <sourabh.sourabh@est.tech> | 2023-03-08 09:52:59 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-03-08 09:52:59 +0000 |
commit | d23fc75c8d3aa485da9e914e730a5583630126ec (patch) | |
tree | 089591f409b949cd6af63e2c742cfaeb41dd1b3d | |
parent | 47185766eb42439067e152bcc99465eb8f1b5f33 (diff) | |
parent | 38d3064bcb92ed175f2e3b83b10b12c822dfe811 (diff) |
Merge "Add index to schema_set_yang_resources table"
-rw-r--r-- | cps-ri/src/main/resources/changelog/changelog-master.yaml | 6 | ||||
-rw-r--r-- | cps-ri/src/main/resources/changelog/db/changes/17-add-index-to-schema-set-yang-resources.yaml | 15 |
2 files changed, 19 insertions, 2 deletions
diff --git a/cps-ri/src/main/resources/changelog/changelog-master.yaml b/cps-ri/src/main/resources/changelog/changelog-master.yaml index cb5392ba57..43a54caf64 100644 --- a/cps-ri/src/main/resources/changelog/changelog-master.yaml +++ b/cps-ri/src/main/resources/changelog/changelog-master.yaml @@ -1,6 +1,6 @@ # ============LICENSE_START======================================================= # Copyright (c) 2021 Bell Canada. -# Modifications Copyright (C) 2022 Nordix Foundation. +# Modifications Copyright (C) 2022-2023 Nordix Foundation. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -47,4 +47,6 @@ databaseChangeLog: - include: file: changelog/db/changes/15-rename-column-yang-resource-table.yaml - include: - file: changelog/db/changes/16-insert-cm-handle-state.yaml
\ No newline at end of file + file: changelog/db/changes/16-insert-cm-handle-state.yaml + - include: + file: changelog/db/changes/17-add-index-to-schema-set-yang-resources.yaml diff --git a/cps-ri/src/main/resources/changelog/db/changes/17-add-index-to-schema-set-yang-resources.yaml b/cps-ri/src/main/resources/changelog/db/changes/17-add-index-to-schema-set-yang-resources.yaml new file mode 100644 index 0000000000..bc16725109 --- /dev/null +++ b/cps-ri/src/main/resources/changelog/db/changes/17-add-index-to-schema-set-yang-resources.yaml @@ -0,0 +1,15 @@ +databaseChangeLog: + - changeSet: + author: cps + id: 17 + changes: + - createIndex: + columns: + - column: + name: schema_set_id + indexName: FKI_SCHEMA_SET_YANG_RESOURCES_SCHEMA_SET_ID_FK + tableName: schema_set_yang_resources + rollback: + - dropIndex: + indexName: FKI_SCHEMA_SET_YANG_RESOURCES_SCHEMA_SET_ID_FK + tableName: schema_set_yang_resources |