fix the fix

git-svn-id: http://www.observium.org/svn/observer/trunk@2911 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2012-03-20 16:11:31 +00:00
parent f5448d224a
commit 8b2901cfea
2 changed files with 10 additions and 1 deletions

View File

@@ -1,2 +1 @@
ALTER TABLE `bills` CHANGE `bill_gb` `bill_quota` BIGINT( 20 ) NULL DEFAULT NULL;
ALTER TABLE `bills` CHANGE `rate_95th_in` `rate_95th_in` BIGINT( 20 ) NOT NULL ,CHANGE `rate_95th_out` `rate_95th_out` BIGINT( 20 ) NOT NULL ,CHANGE `rate_95th` `rate_95th` BIGINT( 20 ) NOT NULL ,CHANGE `total_data` `total_data` BIGINT( 20 ) NOT NULL ,CHANGE `total_data_in` `total_data_in` BIGINT( 20 ) NOT NULL ,CHANGE `total_data_out` `total_data_out` BIGINT( 20 ) NOT NULL ,CHANGE `rate_average_in` `rate_average_in` BIGINT( 20 ) NOT NULL ,CHANGE `rate_average_out` `rate_average_out` BIGINT( 20 ) NOT NULL ,CHANGE `rate_average` `rate_average` BIGINT( 20 ) NOT NULL;

10
sql-schema/009.sql Normal file
View File

@@ -0,0 +1,10 @@
ALTER TABLE `bills` CHANGE `rate_95th_in` `rate_95th_in` BIGINT( 20 ) NOT NULL;
ALTER TABLE `bills` CHANGE `rate_95th_out` `rate_95th_out` BIGINT( 20 ) NOT NULL;
ALTER TABLE `bills` CHANGE `rate_95th` `rate_95th` BIGINT( 20 ) NOT NULL;
ALTER TABLE `bills` CHANGE `total_data` `total_data` BIGINT( 20 ) NOT NULL;
ALTER TABLE `bills` CHANGE `total_data_in` `total_data_in` BIGINT( 20 ) NOT NULL ;
ALTER TABLE `bills` CHANGE `total_data_out` `total_data_out` BIGINT( 20 ) NOT NULL;
ALTER TABLE `bills` CHANGE `rate_average_in` `rate_average_in` BIGINT( 20 ) NOT NULL;
ALTER TABLE `bills` CHANGE `rate_average_out` `rate_average_out` BIGINT( 20 ) NOT NULL;
ALTER TABLE `bills` CHANGE `rate_average` `rate_average` BIGINT( 20 ) NOT NULL;