From c5535f16e1d67800be3a59a7b1d26b8ec3cd5cbc Mon Sep 17 00:00:00 2001 From: long2ice Date: Wed, 23 Dec 2020 23:38:45 +0800 Subject: [PATCH] TODO: Add `inspectdb` command --- CHANGELOG.md | 13 +++++++++---- aerich/inspectdb.py | 0 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 aerich/inspectdb.py diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e521e4..fdb4b72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## 0.4 +### 0.4.3 + +- Replace migrations separator to sql standard comment. +- Add `inspectdb` command. + ### 0.4.2 - Use `pathlib` for path resolving. (#89) @@ -41,10 +46,10 @@ - Refactoring migrate logic, and this version is not compatible with previous version. - Now there don't need `old_models.py` and it store in database. - Upgrade steps: - 1. Upgrade aerich version. - 2. Drop aerich table in database. - 3. Delete `migrations/{app}` folder and rerun `aerich init-db`. - 4. Update model and `aerich migrate` normally. + 1. Upgrade aerich version. + 2. Drop aerich table in database. + 3. Delete `migrations/{app}` folder and rerun `aerich init-db`. + 4. Update model and `aerich migrate` normally. ## 0.2 diff --git a/aerich/inspectdb.py b/aerich/inspectdb.py new file mode 100644 index 0000000..e69de29