diff --git a/ydb/public/api/protos/ydb_table.proto b/ydb/public/api/protos/ydb_table.proto index e878cb5bdf17..295b67c12777 100644 --- a/ydb/public/api/protos/ydb_table.proto +++ b/ydb/public/api/protos/ydb_table.proto @@ -333,6 +333,16 @@ message TableProfile { CachingPolicy caching_policy = 7; } +message SequenceDescription { + optional string name = 1; // mandatorys + optional sint64 min_value = 2; // minimum value, defaults to 1 or Min + optional sint64 max_value = 3; // maximum value, defaults to Max or -1 + optional sint64 start_value = 4; // start value, defaults to min_value + optional uint64 cache = 5; // number of items to cache, defaults to 1 + optional sint64 increment = 6; // increment at each call, defaults to 1 + optional bool cycle = 7; // true when cycle on overflow is allowed +} + message ColumnMeta { // Name of column string name = 1; @@ -345,6 +355,7 @@ message ColumnMeta { // Column default value option oneof default_value { TypedValue from_literal = 5; + SequenceDescription from_sequence = 6; } }