typeAttribute
The typeAttribute tag specifies information about attributes you create with the createCompositeType change type.
Available attributes
Name | Type | Description | Requirement |
| String | Name of the attribute | Required |
| String | Name of the type the attribute will be associated with | Required |
String | Name of an existing collation to be associated with a column of a composite type, or with a range type | Optional |
typeAttribute examples
databaseChangeLog:
- changeSet:
id: 1
author: itTest
changes:
- createCompositeType:
typeName: myType
typeAttributes:
- typeAttribute:
name: attr0
type: int
- typeAttribute:
name: Attr1
type: int
- typeAttribute:
name: ATTR2
type: text
collation: en_US
- typeAttribute:
name: att®3
type: line
- typeAttribute:
name: attribute 4
type: real