Skip to main content

core.table.create_column

Add a column to an existing table.

Inputs

object
required
Column definition with required name and uppercase type, plus optional nullable, default, and options fields. Use TEXT, INTEGER, NUMERIC, BOOLEAN, DATE, TIMESTAMPTZ, JSONB, SELECT, or MULTI_SELECT. options is required for SELECT and MULTI_SELECT.
string
required
The table to add the column to.

Examples

Manage table schema

core.table.update_column

Update a table column’s name, type, nullability, default, index, or options. Set update: {is_index: true} to create the table’s unique index on the column. A table can have one single-column unique index: creation fails if the column already contains duplicate values, and a second is_index: true call raises Table cannot have multiple unique indexes. Guard the step when a workflow repeats it; see Tables.

Inputs

string
required
The current column name.
string
required
The table containing the column.
object
required
Partial column update. Supported fields: name, type, nullable, default, is_index, and options.

Examples

Create a unique index and upsert

core.table.delete_column

Delete a column from an existing table.

Inputs

string
required
The column name to delete.
string
required
The table containing the column.

Examples

Delete a column