mirror of
https://github.com/cp6/my-idlers.git
synced 2024-11-16 23:42:32 +01:00
1927d9488e
Added ability to update YABS disk & network speeds
14 lines
420 B
SQL
14 lines
420 B
SQL
ALTER TABLE `disk_speed`
|
|
ADD COLUMN `datetime` DATETIME NULL DEFAULT CURRENT_TIMESTAMP AFTER `1m_as_mbps`;
|
|
|
|
ALTER TABLE `servers`
|
|
ADD COLUMN `ssh_port` INT(11) NULL DEFAULT '22' AFTER `os`;
|
|
|
|
ALTER TABLE `servers`
|
|
ADD COLUMN `notes` VARCHAR(255) NULL DEFAULT NULL AFTER `tags`;
|
|
|
|
ALTER TABLE `disk_speed`
|
|
DROP PRIMARY KEY;
|
|
|
|
ALTER TABLE `disk_speed`
|
|
ADD UNIQUE INDEX `Index 1` (`server_id`, `datetime`); |