long2ice

Results 410 comments of long2ice

What about this https://github.com/tortoise/aerich#use-aerich-in-application?

You can migrate use `aerich migrate` command local, and use `Command` to do auto upgrade when application startup, just call the `init` and `upgrade` method

You can write custom sql in migration file after migrate

No, just add it in `upgrade` section

Try make a abstract model

So what about multiple databases? The first database may don't wan't be choice to store aerich

try latest dev branch.

Wondering need this or not, if others need this, just point 👍