renameCompositeTypeAttribute

Last updated: January 21, 2026

The renameCompositeTypeAttribute Change Type allows you to change the name of an attribute inside a user-defined composite type. When you rename a composite type attribute, you update the type structure without changing the type's name or fields.

Run renameCompositeTypeAttribute

To run this Change Type, follow these steps:

  1. Add the Change Type to your changeset, as shown in the examples on this page.

  2. Specify any required attributes. Use the table on this page to see which ones your database requires.

  3. Deploy your changeset by running the update command:liquibase update

Available attributes

Name

Type

Description

Requirement

catalogName

String

Name of the catalog

Optional

schemaName

String

Name of the schema that contains the composite type you want to rename.

Optional

typeName

String

Name of the type that contains the attribute you want to rename.

Required

oldAttributeName

String

Name of the attribute that you no longer want to use.

Required

newAttributeName

String

Name of the new attribute that you want to use.

Required

onUpdate

String

Set to CASCADE or RESTRICT. CASCADE automatically updates objects that depend on the type. RESTRICT does not update the type if any objects depend on it. Default: RESTRICT.

Optional

renameCompositeTypeAttribute examples

loading

loading

loading