The ALTER statement can be used to change authentication access and behaviour, global parameters, table configurations, table events, schema definitions, and indexes.
Available since: v3.0.0
The ALTER SEQUENCE statement is used to modify a defined sequence.
SurrealQL Syntax
ALTER SEQUENCE [IFEXISTS]@name[TIMEOUT@duration]
Examples
The timeout of a sequence can be modified via an ALTER SEQUENCE statement. For example, a sequence can be included in the schema but effectively disabled if given a timeout of 0ns, after which ALTER SEQUENCE can be used to modify the timeout to make it available.