patchSequence
Modify existing database sequences with options for data type, increment, min/max values, cache size, and ownership.
Instructions
Update existing sequence(s).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | Schema name | |
| sequence | Yes | Sequence names | |
| name | Yes | Sequence name. | |
| data_type | No | Data type used by the sequence. | bigint |
| increment_by | No | Value added to the current sequence value to create a new value. | |
| min_value | No | Minimum value the sequence can generate. | |
| max_value | No | Maximum value the sequence can generate. | |
| start_value | No | The initial value of the sequence | |
| cache_size | No | How many sequence numbers to preallocate and cache. | |
| owned_by | No | Associates the sequence with a table column so it is dropped with that column/table. Format: schema.table.column. |