diff --git a/pkg/oceanbase/model/system.go b/pkg/oceanbase/model/system.go index f61f8a91f..c84b4ed4a 100644 --- a/pkg/oceanbase/model/system.go +++ b/pkg/oceanbase/model/system.go @@ -33,7 +33,7 @@ type OBTenant struct { RecoveryUntilScn int64 `json:"recovery_until_scn" db:"recovery_until_scn"` LogMode string `json:"log_mode" db:"log_mode"` ArbitrationServiceStatus string `json:"arbitration_service_status" db:"arbitration_service_status"` - GmtCreateTime string `json:"gmt_create_time,omitempty" db:"gmt_create"` + GmtCreate string `json:"gmt_create,omitempty" db:"gmt_create"` SwitchoverStatus string `json:"switchover_status,omitempty" db:"switchover_status"` SwitchoverEpoch int64 `json:"switchover_epoch,omitempty" db:"switchover_epoch"` UnitNum int64 `json:"unit_num,omitempty" db:"unit_num"` diff --git a/pkg/oceanbase/model/tenant.go b/pkg/oceanbase/model/tenant.go index 4ccc97fb3..c54e6231f 100644 --- a/pkg/oceanbase/model/tenant.go +++ b/pkg/oceanbase/model/tenant.go @@ -21,7 +21,7 @@ type Tenant struct { Locality string `json:"locality" db:"locality"` PreviousLocality string `json:"previous_locality" db:"previous_locality"` Status string `json:"status" db:"status"` - GmtCreateTime string `json:"gmt_create_time" db:"gmt_create"` + GmtCreate string `json:"gmt_create" db:"gmt_create"` } type Replica struct {