aboutsummaryrefslogtreecommitdiffstats
path: root/cps-ri/src/main/resources/changelog/db/changes/15-rename-column-yang-resource-table.yaml
blob: 71f11a5382f4daf87e3cd27da85023e543328028 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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