mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: use bigint instead of integer in stats migration (#6380)
This broke dogfood!
This commit is contained in:
@@ -1556,11 +1556,11 @@ type WorkspaceAgentStat struct {
|
||||
WorkspaceID uuid.UUID `db:"workspace_id" json:"workspace_id"`
|
||||
TemplateID uuid.UUID `db:"template_id" json:"template_id"`
|
||||
ConnectionsByProto json.RawMessage `db:"connections_by_proto" json:"connections_by_proto"`
|
||||
ConnectionCount int32 `db:"connection_count" json:"connection_count"`
|
||||
RxPackets int32 `db:"rx_packets" json:"rx_packets"`
|
||||
RxBytes int32 `db:"rx_bytes" json:"rx_bytes"`
|
||||
TxPackets int32 `db:"tx_packets" json:"tx_packets"`
|
||||
TxBytes int32 `db:"tx_bytes" json:"tx_bytes"`
|
||||
ConnectionCount int64 `db:"connection_count" json:"connection_count"`
|
||||
RxPackets int64 `db:"rx_packets" json:"rx_packets"`
|
||||
RxBytes int64 `db:"rx_bytes" json:"rx_bytes"`
|
||||
TxPackets int64 `db:"tx_packets" json:"tx_packets"`
|
||||
TxBytes int64 `db:"tx_bytes" json:"tx_bytes"`
|
||||
}
|
||||
|
||||
type WorkspaceApp struct {
|
||||
|
||||
Reference in New Issue
Block a user