Skip to content

Commit 9116766

Browse files
authored
Merge 267b4d7 into 230ef6e
2 parents 230ef6e + 267b4d7 commit 9116766

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

ydb/public/api/protos/ydb_table.proto

+11
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,16 @@ message TableProfile {
333333
CachingPolicy caching_policy = 7;
334334
}
335335

336+
message SequenceDescription {
337+
optional string name = 1; // mandatorys
338+
optional sint64 min_value = 2; // minimum value, defaults to 1 or Min<i64>
339+
optional sint64 max_value = 3; // maximum value, defaults to Max<i64> or -1
340+
optional sint64 start_value = 4; // start value, defaults to min_value
341+
optional uint64 cache = 5; // number of items to cache, defaults to 1
342+
optional sint64 increment = 6; // increment at each call, defaults to 1
343+
optional bool cycle = 7; // true when cycle on overflow is allowed
344+
}
345+
336346
message ColumnMeta {
337347
// Name of column
338348
string name = 1;
@@ -345,6 +355,7 @@ message ColumnMeta {
345355
// Column default value option
346356
oneof default_value {
347357
TypedValue from_literal = 5;
358+
SequenceDescription from_sequence = 6;
348359
}
349360
}
350361

0 commit comments

Comments
 (0)