From bb5df8c2567f3e687fb78ae4cf3a28a50eb077c4 Mon Sep 17 00:00:00 2001 From: Ibrahim BinAlshikh Date: Wed, 3 Jan 2024 18:12:59 +0300 Subject: [PATCH] Update TableClassWriter.php --- webfiori/framework/writers/TableClassWriter.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webfiori/framework/writers/TableClassWriter.php b/webfiori/framework/writers/TableClassWriter.php index bd1a3556..6fd3acfb 100644 --- a/webfiori/framework/writers/TableClassWriter.php +++ b/webfiori/framework/writers/TableClassWriter.php @@ -366,6 +366,9 @@ private function getType(string $dataType) { } case 'varchar' : { return 'DataType::VARCHAR'; + } + default : { + return 'varchar'; } } }