mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-01-06 14:45:48 +08:00
refactor: code review、数据库备份恢复支持ssh隧道操作
This commit is contained in:
@@ -38,7 +38,7 @@ func (d *DataSyncTask) TableName() string {
|
||||
}
|
||||
|
||||
type DataSyncLog struct {
|
||||
Id uint64 `json:"id"` // 自增主键
|
||||
model.IdModel
|
||||
TaskId uint64 `orm:"column(task_id)" json:"taskId"` // 任务表id
|
||||
CreateTime *time.Time `orm:"column(create_time)" json:"createTime"`
|
||||
DataSqlFull string `orm:"column(data_sql_full)" json:"dataSqlFull"` // 执行的完整sql
|
||||
@@ -47,10 +47,6 @@ type DataSyncLog struct {
|
||||
Status int8 `orm:"column(status)" json:"status"` // 状态:1.成功 -1.失败
|
||||
}
|
||||
|
||||
func (d *DataSyncLog) SetBaseInfo(account *model.LoginAccount) {
|
||||
//TODO implement me
|
||||
}
|
||||
|
||||
func (d *DataSyncLog) TableName() string {
|
||||
return "t_db_data_sync_log"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user