tortoise / aerich

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

Duplicaties in migraions #290

Closed Maksim-Burtsev closed 1 year ago

Maksim-Burtsev commented 1 year ago

I have same problem which was in #279

Now i have a migration which i wanna delete it (because in one branch appeared two 23 migration) and create new (with 24 number)

изображение

And when i do aerich migrate i have this:

изображение
Maksim-Burtsev commented 1 year ago

I was delete correct 23 migration and after that try to make new migration (that why it happens)

When i was delete wrong 23 migrations and migrate -> aerich generate correct 24 migrations