diff options
Diffstat (limited to 'cps-ri/src/main/resources/changelog/db/changes/15-rename-column-yang-resource-table.yaml')
-rw-r--r-- | cps-ri/src/main/resources/changelog/db/changes/15-rename-column-yang-resource-table.yaml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cps-ri/src/main/resources/changelog/db/changes/15-rename-column-yang-resource-table.yaml b/cps-ri/src/main/resources/changelog/db/changes/15-rename-column-yang-resource-table.yaml new file mode 100644 index 0000000000..71f11a5382 --- /dev/null +++ b/cps-ri/src/main/resources/changelog/db/changes/15-rename-column-yang-resource-table.yaml @@ -0,0 +1,14 @@ +databaseChangeLog: + - changeSet: + author: cps + label: yang-resource-rename-column + id: 15 + changes: + - renameColumn: + tableName: yang_resource + columnDataType: TEXT + oldColumnName: name + newColumnName: file_name + rollback: + - sql: + sql: alter table yang_resource rename column file_name to name
\ No newline at end of file |