Skip to content

Commit 4e73a49

Browse files
committed
comment for #769
1 parent 91ce5ec commit 4e73a49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tqdev/PhpCrudApi/Database/GenericReflection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public function getTableColumns(string $tableName, string $type): array
151151
}
152152
if ($this->driver == 'sqlite') {
153153
foreach ($results as &$result) {
154-
// sqlite does not properly reflect display width of types
154+
// sqlite does not reflect types on view columns
155155
preg_match('|([a-z]+)(\(([0-9]+)(,([0-9]+))?\))?|', $result['DATA_TYPE'], $matches);
156156
if (isset($matches[1])) {
157157
$result['DATA_TYPE'] = $matches[1];

0 commit comments

Comments
 (0)