diff options
author | 2021-02-24 11:54:43 +0000 | |
---|---|---|
committer | 2021-02-24 11:54:43 +0000 | |
commit | 5ecf25627589001888c68e9f413c28ccaac69c26 (patch) | |
tree | d017b65ff3538e0d21bd403cbb9e63892a24e760 /cps-ri/src/main/resources/changelog/db/changes/03-loadData-schema-set.yaml | |
parent | f2ce686eeb0781afb6766034581d9508d3501d55 (diff) | |
parent | 495ae8e49f0131bf461ea52baa87004c39f40bd3 (diff) |
Merge "Schema creation and Data pre-load to on cps-xnf-proxy start-up using liquibase"
Diffstat (limited to 'cps-ri/src/main/resources/changelog/db/changes/03-loadData-schema-set.yaml')
-rw-r--r-- | cps-ri/src/main/resources/changelog/db/changes/03-loadData-schema-set.yaml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/cps-ri/src/main/resources/changelog/db/changes/03-loadData-schema-set.yaml b/cps-ri/src/main/resources/changelog/db/changes/03-loadData-schema-set.yaml new file mode 100644 index 000000000..fd214dab3 --- /dev/null +++ b/cps-ri/src/main/resources/changelog/db/changes/03-loadData-schema-set.yaml @@ -0,0 +1,53 @@ +databaseChangeLog: + - changeSet: + author: cps + label: xnf-data-preload + id: 3.1 + loadUpdateData: + encoding: UTF-8 + file: 'changelog/db/changes/data/schema_set.csv' + onlyUpdate: 'false' + primaryKey: 'id' + quotchar: '"' + separator: '|' + tableName: 'schema_set' + + - changeSet: + author: cps + label: xnf-data-preload + id: 3.2 + loadUpdateData: + encoding: UTF-8 + file: 'changelog/db/changes/data/yang_resource.csv' + onlyUpdate: 'false' + primaryKey: 'id' + quotchar: '"' + separator: '|' + tableName: 'yang_resource' + columns: + - column: + header: name + name: name + type: STRING + - column: + header: content + name: content + type: STRING + - column: + header: checkstyle + name: checkstyle + type: STRING + + - changeSet: + author: cps + label: xnf-data-preload + id: 3.3 + loadUpdateData: + encoding: UTF-8 + file: 'changelog/db/changes/data/schema_set_yang_resources.csv' + quotchar: '"' + primaryKey: 'schema_set_id,yang_resource_id' + separator: '|' + tableName: 'schema_set_yang_resources' + usePreparedStatements: true + |