From 910ff94b149beda42b01278aa584e9f643b45597 Mon Sep 17 00:00:00 2001 From: cp6 Date: Fri, 29 Jan 2021 11:20:47 +1100 Subject: [PATCH] Updated server bandwidth column to float type Updated server bandwidth column to float type --- update.sql | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/update.sql b/update.sql index 2764157..ad8b414 100644 --- a/update.sql +++ b/update.sql @@ -25,4 +25,7 @@ UPDATE servers t1 HAVING COUNT(*) > 0 ) t2 ON t1.id = t2.server_id -SET t1.has_st = 1; \ No newline at end of file +SET t1.has_st = 1; + +ALTER TABLE `servers` + CHANGE COLUMN `bandwidth` `bandwidth` FLOAT NULL DEFAULT NULL AFTER `disk_type`; \ No newline at end of file