mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Remove redundant check.
This commit is contained in:
parent
946753acde
commit
2c91f119cb
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ class Sqlite extends DboSource {
|
||||||
if (in_array($col, array('text', 'integer', 'float', 'boolean', 'timestamp', 'date', 'datetime', 'time'))) {
|
if (in_array($col, array('text', 'integer', 'float', 'boolean', 'timestamp', 'date', 'datetime', 'time'))) {
|
||||||
return $col;
|
return $col;
|
||||||
}
|
}
|
||||||
if (strpos($col, 'varchar') !== false || strpos($col, 'char') !== false) {
|
if (strpos($col, 'char') !== false) {
|
||||||
return 'string';
|
return 'string';
|
||||||
}
|
}
|
||||||
if (in_array($col, array('blob', 'clob'))) {
|
if (in_array($col, array('blob', 'clob'))) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue