You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My source mysql database 'test' has one table and it has two columns:
id int(11)
context longtext
when I migrate it to another database, The type of 'longtext' cause one exception: sqlalchemy.exc.CompileError: (in table 'new_table', column 'context'): VARCHAR requires a length on dialect mysql
I debug the sqlalchemy source and find the function called is visit_VARCHAR:
Hi,
My source mysql database 'test' has one table and it has two columns:
when I migrate it to another database, The type of 'longtext' cause one exception:
sqlalchemy.exc.CompileError: (in table 'new_table', column 'context'): VARCHAR requires a length on dialect mysql
I debug the sqlalchemy source and find the function called is
visit_VARCHAR
:I don't understand all
_StringType
type call this funtionvisit_VARCHAR
, notvistit_LONGTEXT
? And how to deal with longtext type? Thanks.The text was updated successfully, but these errors were encountered: