patchColumn
Update an existing database column's attributes including type, nullability, default value, identity generation, and comment.
Instructions
Update existing column(s).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | Schema name | |
| table | Yes | Table name | |
| column | Yes | Column names | |
| name | No | Column name. | |
| type | No | Column type, e.g. varchar, integer, boolean. Array types use [] (e.g. varchar[]). | |
| is_nullable | No | Whether the column allows NULL values. | |
| default_value | No | Default value used when no value is provided. | |
| identity_generation | No | Identity generation mode for auto-generated values. | |
| comment | No | Comment for the column. |