Skip to main content
Old API since 2.18.0. Superseded by hypercore. However, compression APIs are still supported, you do not need to migrate to the hypercore APIs. You can modify the schema of compressed hypertables in recent versions of . To perform operations that aren’t supported on compressed s, first decompress the table.

Add a nullable column

To add a nullable column:
For example:
Note that adding constraints to the new column is not supported before v2.6.

Add a column with a default value and a NOT NULL constraint

To add a column with a default value and a not-null constraint:
For example:

Rename a column

To rename a column:
For example:

Drop a column

You can drop a column from a compressed , if the column is not an orderby or segmentby column. To drop a column:
For example: