Skip to content

Commit f3195a5

Browse files
authored
enum mysql type return string (bakwc#59)
1 parent 6306d96 commit f3195a5

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)