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 HAVING COUNT(*) > 0
) t2 ) t2
ON t1.id = t2.server_id 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`;