interface AlterTableColumnsRequest
column_alterations: Record<string, string>[];
options: Record<string, string>;
table_name: string;
column_alterations: Record<string, string>[];
options: Record<string, string>;
table_name: string;
- Defined in src/types.ts:1102
Properties
Properties
table_name
table_name: string
Table on which the operation will be performed. Must be an existing table or view, in [schema_name.]table_name format, using standard name resolution rules.
- Defined in src/types.ts:1104
List of alter table add/delete/change column requests - all for the same table. Each request is a map that includes ‘column_name’, ‘action’ and the options specific for the action. Note that the same options as in alter table requests but in the same map as the column name and the action. For example: [‘column_name’:‘col_1’,‘action’:‘change_column’,‘rename_column’:‘col_2’,‘column_name’:‘col_1’,‘action’:‘add_column’, ‘type’:‘int’,‘default_value’:‘1’].