Navigation Menu

Skip to content

Commit

Permalink
Remove non-portable data type from MySQL.
Browse files Browse the repository at this point in the history
'numeric' is a non-portable type that is not supported by any other
database driver. Removing it now will prevent future problems.
  • Loading branch information
markstory committed Nov 14, 2013
1 parent 2e1f131 commit b6b8d83
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Cake/Model/Datasource/Database/Mysql.php
Expand Up @@ -112,7 +112,6 @@ class Mysql extends DboSource {
'biginteger' => array('name' => 'bigint', 'limit' => '20'),
'integer' => array('name' => 'int', 'limit' => '11', 'formatter' => 'intval'),
'float' => array('name' => 'float', 'formatter' => 'floatval'),
'numeric' => array('name' => 'decimal', 'formatter' => 'floatval'),
'decimal' => array('name' => 'decimal', 'formatter' => 'floatval'),
'datetime' => array('name' => 'datetime', 'format' => 'Y-m-d H:i:s', 'formatter' => 'date'),
'timestamp' => array('name' => 'timestamp', 'format' => 'Y-m-d H:i:s', 'formatter' => 'date'),
Expand Down

0 comments on commit b6b8d83

Please sign in to comment.