mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #204 from petteyg/2.0-postgres_inet
2.0 - Add validation guess for Postgress inet field
This commit is contained in:
commit
69934a09f3
1 changed files with 2 additions and 0 deletions
|
@ -405,6 +405,8 @@ class ModelTask extends BakeTask {
|
|||
$guess = $methods['date'];
|
||||
} elseif ($metaData['type'] == 'time') {
|
||||
$guess = $methods['time'];
|
||||
} elseif ($metaData['type'] == 'inet') {
|
||||
$guess = $methods['ip'];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue