Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api definition: add origin task id to filter instance #2754

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions sqle/api/controller/v1/backup.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ type BackupSqlData struct {
ExecOrder uint `json:"exec_order"`
ExecSqlID uint `json:"exec_sql_id"`
OriginSQL string `json:"origin_sql"`
OriginTaskId uint `json:"origin_task_id"`
BackupSqls []string `json:"backup_sqls"`
BackupStrategy string `json:"backup_strategy" enums:"none,manual,reverse_sql,origin_row"`
InstanceName string `json:"instance_name"`
Expand Down
3 changes: 3 additions & 0 deletions sqle/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -11809,6 +11809,9 @@ var doc = `{
},
"origin_sql": {
"type": "string"
},
"origin_task_id": {
"type": "integer"
}
}
},
Expand Down
3 changes: 3 additions & 0 deletions sqle/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -11793,6 +11793,9 @@
},
"origin_sql": {
"type": "string"
},
"origin_task_id": {
"type": "integer"
}
}
},
Expand Down
2 changes: 2 additions & 0 deletions sqle/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,8 @@ definitions:
type: string
origin_sql:
type: string
origin_task_id:
type: integer
type: object
v1.BackupSqlListRes:
properties:
Expand Down
Loading