TODO: Add inspectdb
command
This commit is contained in:
parent
840cd71e44
commit
c5535f16e1
13
CHANGELOG.md
13
CHANGELOG.md
@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
## 0.4
|
## 0.4
|
||||||
|
|
||||||
|
### 0.4.3
|
||||||
|
|
||||||
|
- Replace migrations separator to sql standard comment.
|
||||||
|
- Add `inspectdb` command.
|
||||||
|
|
||||||
### 0.4.2
|
### 0.4.2
|
||||||
|
|
||||||
- Use `pathlib` for path resolving. (#89)
|
- Use `pathlib` for path resolving. (#89)
|
||||||
@ -41,10 +46,10 @@
|
|||||||
- Refactoring migrate logic, and this version is not compatible with previous version.
|
- 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.
|
- Now there don't need `old_models.py` and it store in database.
|
||||||
- Upgrade steps:
|
- Upgrade steps:
|
||||||
1. Upgrade aerich version.
|
1. Upgrade aerich version.
|
||||||
2. Drop aerich table in database.
|
2. Drop aerich table in database.
|
||||||
3. Delete `migrations/{app}` folder and rerun `aerich init-db`.
|
3. Delete `migrations/{app}` folder and rerun `aerich init-db`.
|
||||||
4. Update model and `aerich migrate` normally.
|
4. Update model and `aerich migrate` normally.
|
||||||
|
|
||||||
## 0.2
|
## 0.2
|
||||||
|
|
||||||
|
0
aerich/inspectdb.py
Normal file
0
aerich/inspectdb.py
Normal file
Loading…
x
Reference in New Issue
Block a user