From 0cbc448573409a43eb3bf7b4c9cb49d418a4c999 Mon Sep 17 00:00:00 2001 From: lukegleeson Date: Thu, 10 Feb 2022 10:58:29 +0000 Subject: 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 Change-Id: I4ab949f0bc00a52376b42a5ac8a33d397eefcedf --- .../changelog/db/changes/11-add-column-to-yang-resources-table.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cps-ri/src/main/resources/changelog/db/changes/11-add-column-to-yang-resources-table.yaml') 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 -- cgit 1.2.3-korg