tortoise / aerich

A database migrations tool for TortoiseORM, ready to production.
https://github.com/tortoise/aerich
Apache License 2.0
820 stars 94 forks source link

Aerich does not identify changes in the varchar count for primary keys #191

Open PythonCoderAS opened 3 years ago

PythonCoderAS commented 3 years ago

I have a table with a fields.CharField that is a primary key and set to a max_length of 6. I decided to change it to 16 and migrate the table, but aerich found no changes.

long2ice commented 3 years ago

That's should be fix

PythonCoderAS commented 3 years ago

Oh, I'm pinned to 0.5.3. Has the bug where the migrations directory could not be found been fixed?