From d68e445af62bb7040bf5699e5577b870c7a74511 Mon Sep 17 00:00:00 2001 From: Muhammad Aaqil Date: Tue, 17 Oct 2023 13:36:14 +0500 Subject: [PATCH] fix: return enum type Signed-off-by: Muhammad Aaqil --- lib/discovery.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/discovery.js b/lib/discovery.js index 5963f3f1a..860dcb924 100644 --- a/lib/discovery.js +++ b/lib/discovery.js @@ -341,6 +341,7 @@ function mixinDiscovery(MySQL, mysql) { case 'LONGTEXT': case 'TEXT': case 'ENUM': + return columnType; case 'SET': return 'String'; case 'TINYBLOB':