update README.md

This commit is contained in:
long2ice
2021-08-12 15:42:54 +08:00
parent 7d3eb2e151
commit 359525716c
2 changed files with 2 additions and 1 deletions

View File

@@ -231,6 +231,7 @@ You can use `aerich` out of cli by use `Command` class.
from aerich import Command
command = Command(tortoise_config=config, app='models')
await command.init()
await command.migrate('test')
```