From ef5c73b4689e5b82c08cb141bc9994323f581f24 Mon Sep 17 00:00:00 2001 From: zhusr39924 Date: Wed, 3 Jul 2024 11:08:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0readme=EF=BC=9A=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E8=BF=81=E7=A7=BB=E5=92=8C=E7=94=9F=E6=88=90CRUD?= =?UTF-8?q?=EF=BC=8C=E8=B7=AF=E7=94=B1=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kinit-api/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kinit-api/README.md b/kinit-api/README.md index 66f9e84..db1aff6 100644 --- a/kinit-api/README.md +++ b/kinit-api/README.md @@ -147,7 +147,7 @@ git commit -m "clear cached" ``` ## 新的数据迁移 -执行数据库迁移命令(终端执行) + - 新建模型: - 在你的app目录下新建一个models目录,__init__.py导入你需要迁移的models ```python @@ -182,7 +182,7 @@ git commit -m "clear cached" ... from apps.xxx.your_app.models import * ``` -- 执行脚本: +- 执行数据库迁移命令(终端执行执行脚本): ```shell # 执行命令(生产环境): python main.py migrate