2.6.2: cake bake / ModelTask should respect decimal

PR for https://github.com/cakephp/cakephp/issues/6066
This commit is contained in:
Jonas 2015-03-13 21:35:12 +01:00
parent 0b916cedbb
commit 5f40161e24

View file

@ -460,6 +460,8 @@ class ModelTask extends BakeTask {
$guess = $methods['datetime'];
} elseif ($metaData['type'] === 'inet') {
$guess = $methods['ip'];
} elseif ($metaData['type'] === 'decimal') {
$guess = $methods['decimal'];
}
}