diff --git a/ec2-cost-calculate-ruby/ec2cc-mysql/ec2cc-table-create.sql b/ec2-cost-calculate-ruby/ec2cc-mysql/ec2cc-table-create.sql index 548633b..8559092 100644 --- a/ec2-cost-calculate-ruby/ec2cc-mysql/ec2cc-table-create.sql +++ b/ec2-cost-calculate-ruby/ec2cc-mysql/ec2cc-table-create.sql @@ -14,7 +14,7 @@ CREATE TABLE IF NOT EXISTS `ec2cc`.`costs` ( `platform` VARCHAR(7) NOT NULL , `instance_type` VARCHAR(13) NOT NULL , `status` VARCHAR(7) NOT NULL , - `cost` FLOAT NOT NULL , + `cost` DECIMAL(10,4) NOT NULL , `name` VARCHAR(40) NULL , `autoscalinggroup` VARCHAR(40) NULL , `date` DATETIME NOT NULL ) diff --git a/ec2-cost-calculate-ruby/ec2cc-mysql/ec2cc.mwb b/ec2-cost-calculate-ruby/ec2cc-mysql/ec2cc.mwb index 246552c..191a4af 100644 Binary files a/ec2-cost-calculate-ruby/ec2cc-mysql/ec2cc.mwb and b/ec2-cost-calculate-ruby/ec2cc-mysql/ec2cc.mwb differ