We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0afad0 commit 9c25db6Copy full SHA for 9c25db6
src/SqlitePdoDataLayer.php
@@ -361,7 +361,13 @@ public function getTableColumns(string $table): array
361
{
362
$query = sprintf("pragma table_info(%s)", $table);
363
364
- return $this->executeRows($query);
+ $columns = $this->executeRows($query);
365
+ foreach ($columns as &$column)
366
+ {
367
+ $column['type'] = mb_strtolower($column['type']);
368
+ }
369
+
370
+ return $columns;
371
}
372
373
//--------------------------------------------------------------------------------------------------------------------
0 commit comments