update README

This commit is contained in:
long2ice
2020-10-09 15:34:48 +08:00
parent 48e3ff48a3
commit 86c8382593
2 changed files with 3 additions and 1 deletions

View File

@@ -8,7 +8,7 @@
- Now there don't need `old_models.py` and it store in database.
- Upgrade steps:
1. Upgrade aerich version.
2. Drop aerich model in db and recreate with new struct.
2. Drop aerich table in database.
3. Delete `migrations/{app}` folder and rerun `aerich init-db`.
4. Update model and `aerich migrate` normally.