From b6b8d8398011537f6459412ace37dcdff0ad0423 Mon Sep 17 00:00:00 2001 From: mark_story Date: Thu, 14 Nov 2013 10:28:09 -0500 Subject: [PATCH] Remove non-portable data type from MySQL. 'numeric' is a non-portable type that is not supported by any other database driver. Removing it now will prevent future problems. --- lib/Cake/Model/Datasource/Database/Mysql.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Cake/Model/Datasource/Database/Mysql.php b/lib/Cake/Model/Datasource/Database/Mysql.php index 33b44c55885..129df1b5f86 100644 --- a/lib/Cake/Model/Datasource/Database/Mysql.php +++ b/lib/Cake/Model/Datasource/Database/Mysql.php @@ -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'),