tortoise / aerich

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

Fix field dropping & CI checks #282

Open CortexPE opened 1 year ago

CortexPE commented 1 year ago

Currently, dropping fields seem to only result to a KeyError. This PR fixes that by resorting to the default field name

!! Please review thoroughly to prevent unintentional side-effects as I do not have intensive knowledge on aerich's flow and architecture !!