From 86c8382593fabcde9e45d9de84432a26dcdd92f7 Mon Sep 17 00:00:00 2001 From: long2ice Date: Fri, 9 Oct 2020 15:34:48 +0800 Subject: [PATCH] update README --- CHANGELOG.md | 2 +- README.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 651b918..4535835 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/README.md b/README.md index 1bd2f75..cd04447 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ Aerich is a database migrations tool for Tortoise-ORM, which like alembic for SQLAlchemy, or Django ORM with it\'s own migrations solution. +**If you upgrade aerich from <= 0.2.5 to >= 0.3.0, see [changelog](https://github.com/tortoise/aerich/blob/dev/CHANGELOG.md) for upgrade steps.** + ## Install Just install from pypi: