Support rename field
This commit is contained in:
@@ -111,7 +111,7 @@ Format of migrate filename is
|
||||
`{version_num}_{datetime}_{name|update}.sql`.
|
||||
|
||||
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.
|
||||
choice `True` to rename column without column drop, or choice `False` to drop column then create, note that the after maybe lose data.
|
||||
|
||||
### Upgrade to latest version
|
||||
|
||||
|
||||
Reference in New Issue
Block a user