renameViewColumn

Last updated: June 9, 2026

The renameViewColumn change type renames a single column in a PostgreSQL view without modifying the view body. It is emitted automatically by diff-changelog when it detects a view column rename on PostgreSQL.

Note: Automatic rollback is supported. Liquibase reverses the rename by restoring the original column name.

Available attributes

Attribute

Type

Required

Description

viewName

String

Yes

Name of the view containing the column to rename.

oldColumnName

String

Yes

Current name of the column.

newColumnName

String

Yes

New name for the column.

schemaName

String

No

Name of the schema containing the view.

catalogName

String

No

Name of the catalog containing the view.

Example code

loading

loading

loading

loading