tortoise / aerich

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

Fix Aerich b/c of a new feature in Tortoise ORM v0.16.19 #111

Closed lqmanh closed 3 years ago

lqmanh commented 3 years ago

Since Tortoise ORM v0.16.19, it is possible to use models directly as module objects, instead of their path strings (see https://github.com/tortoise/tortoise-orm/pull/561).

This PR tries to fix the conflict caused by that.

lqmanh commented 3 years ago

Ping @long2ice.

long2ice commented 3 years ago

Thanks for that contribution!