Skip to content

Commit 3115ec8

Browse files
committed
fix for #769
1 parent b53dacf commit 3115ec8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Tqdev/PhpCrudApi/Database/GenericReflection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public function getTableColumns(string $tableName, string $type): array
156156
if (isset($matches[1])) {
157157
$result['DATA_TYPE'] = $matches[1];
158158
} else {
159-
$result['DATA_TYPE'] = 'integer';
159+
$result['DATA_TYPE'] = 'text';
160160
}
161161
if (isset($matches[5])) {
162162
$result['NUMERIC_PRECISION'] = $matches[3];

tests/functional/001_records/075_list_tag_usage.log

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
skip-for-sqlite: no support for types on views
12
===
23
GET /records/tag_usage
34
===

0 commit comments

Comments
 (0)