mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Add validation guess for Postgress inet field
This commit is contained in:
parent
b3157cdd71
commit
744558de90
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