summaryrefslogtreecommitdiffstats
path: root/cps-ri/src/main/resources/changelog/db/changes/11-add-column-to-yang-resources-table.yaml
diff options
context:
space:
mode:
authorlukegleeson <luke.gleeson@est.tech>2022-02-10 10:58:29 +0000
committerlukegleeson <luke.gleeson@est.tech>2022-03-03 11:05:23 +0000
commit0cbc448573409a43eb3bf7b4c9cb49d418a4c999 (patch)
tree82410672196d6a53b012add69cf82577cab71f04 /cps-ri/src/main/resources/changelog/db/changes/11-add-column-to-yang-resources-table.yaml
parent304b9f319cddad71a77f6bbffb8c18f63b7f5ee2 (diff)
Update dmi-registry yang to support cmHandle State
- Added dmi-registry@2022-02-10 which contains the new dmi-registry yang model to support the cmHandle State. - Added changelog 12 which removes previous dmi-registries from the db - Added changelog 13 which adds new dmi-registry - Edited yangResourceCsvGenerator.py so that it generates for each argument given and does not generate the module_name and revision for dmi-registry@2021-12-13. - Updated rollback for changeset 11.1 Issue-ID: CPS-874 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I4ab949f0bc00a52376b42a5ac8a33d397eefcedf
Diffstat (limited to 'cps-ri/src/main/resources/changelog/db/changes/11-add-column-to-yang-resources-table.yaml')
-rw-r--r--cps-ri/src/main/resources/changelog/db/changes/11-add-column-to-yang-resources-table.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/cps-ri/src/main/resources/changelog/db/changes/11-add-column-to-yang-resources-table.yaml b/cps-ri/src/main/resources/changelog/db/changes/11-add-column-to-yang-resources-table.yaml
index 139e83be2..8643a0545 100644
--- a/cps-ri/src/main/resources/changelog/db/changes/11-add-column-to-yang-resources-table.yaml
+++ b/cps-ri/src/main/resources/changelog/db/changes/11-add-column-to-yang-resources-table.yaml
@@ -40,4 +40,4 @@ databaseChangeLog:
- sql:
sql: update yang_resource set module_name = 'dummy_module_name', revision = '2021-08-04' where module_name is null and revision is null
rollback:
- comment: Rollback for change set 11.1 is not supported. Please rollback change set 11 to rollback changeset 11.1. Change set 11.1 removes null values from the yang_resource table created by change set 11. \ No newline at end of file
+ sql: update yang_resource set module_name = null, revision = null where module_name = 'dummy_module_name' and revision = '2021-08-04' \ No newline at end of file