On 6/28/19 2:59 PM, Aaryan Bhagat wrote:
I will explain a little bit more what I exactly did, I downgraded alembic to
2d2d0ef0828fversion, made changes to
58858f75303cmigration file and then tried to upgrade again but alembic is recognising duplicating columns which means it has not downgraded properly, can we somehow erase all changes keep till
2d2d0ef0828fversion somehow cleanly?
Pointers on this are required.
It's not alembic's fault. It's sqlite which can't remove a column. You have to test for things like this. There are examples in the existing migrations such as 46e92facee7_add_serverowner_domainowner.py.