Unistore: Add generation column (#102222)
This commit is contained in:
@@ -75,6 +75,7 @@ type sqlResourceRequest struct {
|
||||
sqltemplate.SQLTemplate
|
||||
GUID string
|
||||
WriteEvent resource.WriteEvent
|
||||
Generation int64
|
||||
Folder string
|
||||
|
||||
// Useful when batch writing
|
||||
@@ -305,8 +306,9 @@ func (r sqlGetHistoryRequest) Validate() error {
|
||||
// prune resource history
|
||||
type sqlPruneHistoryRequest struct {
|
||||
sqltemplate.SQLTemplate
|
||||
Key *resource.ResourceKey
|
||||
HistoryLimit int64
|
||||
Key *resource.ResourceKey
|
||||
PartitionByGeneration bool // include generation in the partition
|
||||
HistoryLimit int64
|
||||
}
|
||||
|
||||
func (r *sqlPruneHistoryRequest) Validate() error {
|
||||
|
||||
Reference in New Issue
Block a user