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

Fix: migrate doesn't use source_field in unique_together #181

Closed Vovetta closed 3 years ago

Vovetta commented 3 years ago

If field in unique_together has a source_field for database, then aerich migrate creates wrong index

long2ice commented 3 years ago

Thanks! Could you update changelog and version?

long2ice commented 3 years ago

The ci not passed, can you check it?

long2ice commented 3 years ago

Hello, could you merge dev and resolve conflicts?

long2ice commented 3 years ago

Thanks!