mirror of
https://github.com/cp6/my-idlers.git
synced 2025-04-19 17:48:36 +00:00
Updated server bandwidth column to float type
Updated server bandwidth column to float type
This commit is contained in:
parent
c74609c406
commit
910ff94b14
1 changed files with 4 additions and 1 deletions
|
@ -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`;
|
Loading…
Add table
Reference in a new issue