summaryrefslogtreecommitdiffstats
path: root/cps-ri/src/test/resources/data/anchors-schemaset-modules.sql
diff options
context:
space:
mode:
authorDylanB95EST <dylan.byrne@est.tech>2022-08-04 18:07:24 +0100
committerDylanB95EST <dylan.byrne@est.tech>2022-08-05 09:52:55 +0100
commite038e5b3c33348fa691765220476bfe3acba955c (patch)
treede35edbb9b39c011d9a6765f960447c69701aa79 /cps-ri/src/test/resources/data/anchors-schemaset-modules.sql
parent18cd7ed56f0afa07312694510f8e21fbcc32b993 (diff)
Rename name column in yang resource table
- Rename name column in yang_resource table to file_name - Refactor instances where it occures in code and tests - Add new changelog file to rename occurance Issue-ID: CPS-529 Change-Id: I2aff97410bdb041b90d8ceaeff75e562ef8d9238 Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
Diffstat (limited to 'cps-ri/src/test/resources/data/anchors-schemaset-modules.sql')
-rw-r--r--cps-ri/src/test/resources/data/anchors-schemaset-modules.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/cps-ri/src/test/resources/data/anchors-schemaset-modules.sql b/cps-ri/src/test/resources/data/anchors-schemaset-modules.sql
index 45119dec0f..65b3a48ca5 100644
--- a/cps-ri/src/test/resources/data/anchors-schemaset-modules.sql
+++ b/cps-ri/src/test/resources/data/anchors-schemaset-modules.sql
@@ -1,6 +1,6 @@
/*
============LICENSE_START=======================================================
- Copyright (C) 2021 Nordix Foundation.
+ Copyright (C) 2021-2022 Nordix Foundation.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@ INSERT INTO SCHEMA_SET (ID, NAME, DATASPACE_ID) VALUES
(2003, 'schema-set-3', 1001),
(2004, 'schema-set-4', 1002);
-INSERT INTO YANG_RESOURCE (ID, NAME, CONTENT, CHECKSUM, MODULE_NAME, REVISION) VALUES
+INSERT INTO YANG_RESOURCE (ID, FILE_NAME, CONTENT, CHECKSUM, MODULE_NAME, REVISION) VALUES
(3001, 'module1@revA.yang', 'some-content', 'checksum1','module-name-1','revA'),
(3002, 'module2@revA.yang', 'some-content', 'checksum2','module-name-2','revA'),
(3003, 'module2@revB.yang', 'some-content', 'checksum3','module-name-2','revB'),