Open l1f opened 2 years ago
What's the version? Seems not problem for that since of https://github.com/tortoise/aerich/blob/dev/aerich/ddl/__init__.py#L75
Sorry for the long reply time, I was on holiday. In the project I have here, I use version 0.6.3
The mysql migration that aerich generates for enums has a problem with defaults
This state here causes an error:
pymysql.err.OperationalError: (1067, "Invalid default value for 'connection'")
The model on which this is based on:
After adjusting the alter table statement, upgrading the database to the latest migration works.