From d3a13422939d55f0bb733413fe557560aaab3ebf Mon Sep 17 00:00:00 2001 From: long2ice Date: Wed, 3 Feb 2021 15:48:06 +0800 Subject: [PATCH] update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9d1d6d5..862a9f2 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,9 @@ Aerich is a database migrations tool for Tortoise-ORM, which like alembic for SQLAlchemy, or Django ORM with it\'s own migrations solution. -**Important: You can only use absolutely import in your `models.py` to make `aerich` work.** +~~**Important: You can only use absolutely import in your `models.py` to make `aerich` work.**~~ +From version `v0.5.0`, there is no such limitation now. ## Install Just install from pypi: @@ -179,7 +180,7 @@ Options: Inspect all tables and print to console: ```shell -aerich --app models inspectdb -t user +aerich --app models inspectdb ``` Inspect a specified table in default app and redirect to `models.py`: