diff --git a/lib/discovery.js b/lib/discovery.js index 5963f3f1a..a9cf6c2ca 100644 --- a/lib/discovery.js +++ b/lib/discovery.js @@ -340,7 +340,6 @@ function mixinDiscovery(MySQL, mysql) { case 'MEDIUMTEXT': case 'LONGTEXT': case 'TEXT': - case 'ENUM': case 'SET': return 'String'; case 'TINYBLOB': @@ -380,6 +379,8 @@ function mixinDiscovery(MySQL, mysql) { case 'BOOL': case 'BOOLEAN': return 'Boolean'; + case 'ENUM': + return columnType; default: return 'String'; }