lib/Cake/Model/Datasource/Database/Sqlite.php 1 location
|
@@ 404-407 (lines=4) @@
|
401 |
|
return null; |
402 |
|
} |
403 |
|
|
404 |
|
if (!isset($this->columns[$type])) { |
405 |
|
trigger_error(__d('cake_dev', 'Column type %s does not exist', $type), E_USER_WARNING); |
406 |
|
return null; |
407 |
|
} |
408 |
|
|
409 |
|
$isPrimary = (isset($column['key']) && $column['key'] === 'primary'); |
410 |
|
if ($isPrimary && $type === 'integer') { |
lib/Cake/Model/Datasource/DboSource.php 1 location
|
@@ 3080-3083 (lines=4) @@
|
3077 |
|
return null; |
3078 |
|
} |
3079 |
|
|
3080 |
|
if (!isset($this->columns[$type])) { |
3081 |
|
trigger_error(__d('cake_dev', 'Column type %s does not exist', $type), E_USER_WARNING); |
3082 |
|
return null; |
3083 |
|
} |
3084 |
|
|
3085 |
|
$real = $this->columns[$type]; |
3086 |
|
$out = $this->name($name) . ' ' . $real['name']; |