OSDN Git Service

fix
[bytom/vapor.git] / toolbar / precog / database / orm / node_liveness.go
index c708129..91ff4ce 100644 (file)
@@ -6,14 +6,13 @@ import (
 )
 
 type NodeLiveness struct {
-       ID            uint64 `gorm:"primary_key"`
-       NodeID        uint16
-       PingTimes     uint64
-       PongTimes     uint64
-       AvgLantencyMS sql.NullInt64
-       BestHeight    uint64
-       CreatedAt     time.Time
-       UpdatedAt     time.Time
+       ID         uint64 `gorm:"primary_key"`
+       NodeID     uint16
+       PingTimes  uint64
+       PongTimes  uint64
+       BestHeight uint64
+       CreatedAt  time.Time
+       UpdatedAt  time.Time
 
        Node *Node `gorm:"foreignkey:NodeID"`
 }