update README.md

This commit is contained in:
long2ice 2020-09-25 17:51:31 +08:00
parent 141d7205bf
commit 002221e557

View File

@ -109,9 +109,9 @@ Success migrate 1_202029051520102929_drop_column.json
``` ```
Format of migrate filename is Format of migrate filename is
`{version_num}_{datetime}_{name|update}.json` `{version_num}_{datetime}_{name|update}.json`.
And if `aerich` guess you are renaming a column, it will ask `Rename {old_column} to {new_column} [True]`, you can choice `True` to choice rename column without column drop, or choice `False` to drop column then create. And if `aerich` guess you are renaming a column, it will ask `Rename {old_column} to {new_column} [True]`, you can choice `True` to rename column without column drop, or choice `False` to drop column then create.
### Upgrade to latest version ### Upgrade to latest version