1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-16 15:33:44 +01:00

Updated server bandwidth column to float type

Updated server bandwidth column to float type
This commit is contained in:
cp6 2021-01-29 11:20:47 +11:00
parent c74609c406
commit 910ff94b14

View File

@ -25,4 +25,7 @@ UPDATE servers t1
HAVING COUNT(*) > 0
) t2
ON t1.id = t2.server_id
SET t1.has_st = 1;
SET t1.has_st = 1;
ALTER TABLE `servers`
CHANGE COLUMN `bandwidth` `bandwidth` FLOAT NULL DEFAULT NULL AFTER `disk_type`;