Added datetime column for disk_speed
Will be used for YABs history feature
This commit is contained in:
parent
725fde2298
commit
efe2bd72e0
|
@ -26,6 +26,7 @@ CREATE TABLE IF NOT EXISTS `disk_speed`
|
||||||
`1m` float DEFAULT NULL,
|
`1m` float DEFAULT NULL,
|
||||||
`1m_type` char(4) DEFAULT NULL,
|
`1m_type` char(4) DEFAULT NULL,
|
||||||
`1m_as_mbps` float DEFAULT NULL,
|
`1m_as_mbps` float DEFAULT NULL,
|
||||||
|
`datetime` datetime DEFAULT CURRENT_TIMESTAMP,
|
||||||
PRIMARY KEY (`server_id`)
|
PRIMARY KEY (`server_id`)
|
||||||
) ENGINE = InnoDB
|
) ENGINE = InnoDB
|
||||||
DEFAULT CHARSET = latin1;
|
DEFAULT CHARSET = latin1;
|
||||||
|
|
2
update.sql
Normal file
2
update.sql
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
ALTER TABLE `disk_speed`
|
||||||
|
ADD COLUMN `datetime` DATETIME NULL DEFAULT CURRENT_TIMESTAMP AFTER `1m_as_mbps`;
|
Loading…
Reference in New Issue
Block a user