using decimal instead of float for mysql cost table.

This commit is contained in:
Colin Johnson 2012-08-13 22:46:16 +00:00
parent 1e2c987cc7
commit 1edb9fdc8d
2 changed files with 1 additions and 1 deletions

View File

@ -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 )