robotLJW commented on a change in pull request #228:
URL: https://github.com/apache/servicecomb-kie/pull/228#discussion_r756752683
##########
File path: pkg/model/db_schema.go
##########
@@ -48,6 +48,25 @@ type KVDoc struct {
Domain string `json:"domain,omitempty"
yaml:"domain,omitempty" validate:"min=1,max=256,commonName"`
//redundant
}
+// Task is db struct to store sync task
+type Task struct {
+ TaskID string `json:"task_id" bson:"task_id"`
+ Action string `json:"action" bson:"action"`
+ DataType string `json:"data_type" bson:"data_type"`
+ Data interface{} `json:"data" bson:"data"`
+ Timestamp int64 `json:"timestamp" bson:"timestamp"`
+ Status string `json:"status" bson:"status"`
+}
+
+// Tombstone is db struct to store the deleted resource information
+type Tombstone struct {
Review comment:
已经修复
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]