File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -333,6 +333,16 @@ message TableProfile {
333
333
CachingPolicy caching_policy = 7 ;
334
334
}
335
335
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
+
336
346
message ColumnMeta {
337
347
// Name of column
338
348
string name = 1 ;
@@ -345,6 +355,7 @@ message ColumnMeta {
345
355
// Column default value option
346
356
oneof default_value {
347
357
TypedValue from_literal = 5 ;
358
+ SequenceDescription from_sequence = 6 ;
348
359
}
349
360
}
350
361
You can’t perform that action at this time.
0 commit comments