From 8b2901cfea58764bb64f9f935d1c324509abaa8e Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Tue, 20 Mar 2012 16:11:31 +0000 Subject: [PATCH] fix the fix git-svn-id: http://www.observium.org/svn/observer/trunk@2911 61d68cd4-352d-0410-923a-c4978735b2b8 --- sql-schema/008.sql | 1 - sql-schema/009.sql | 10 ++++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 sql-schema/009.sql diff --git a/sql-schema/008.sql b/sql-schema/008.sql index c8e373613..b27e7d9f6 100644 --- a/sql-schema/008.sql +++ b/sql-schema/008.sql @@ -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; diff --git a/sql-schema/009.sql b/sql-schema/009.sql new file mode 100644 index 000000000..33225c1dd --- /dev/null +++ b/sql-schema/009.sql @@ -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; +