Skip to content

Commit 52cb7c4

Browse files
authored
enum mysql type return string (#59)
1 parent fc8f4f7 commit 52cb7c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mysql_ch_replicator/converter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,8 @@ def convert_type(self, mysql_type, parameters):
211211
return 'String'
212212
if 'varchar' in mysql_type:
213213
return 'String'
214+
if 'enum' in mysql_type:
215+
return 'String'
214216
if 'text' in mysql_type:
215217
return 'String'
216218
if 'blob' in mysql_type:

0 commit comments

Comments
 (0)