fix: generates two semicolons in a row. (#301)
This commit is contained in:
parent
dbc0d9e7ef
commit
f0bc3126e9
@ -2,14 +2,12 @@
|
||||
|
||||
## 0.7
|
||||
|
||||
### 0.7.3
|
||||
|
||||
- Added `-i` and `--in-transaction` options to `aerich migrate` command. (#296)
|
||||
|
||||
### 0.7.2
|
||||
|
||||
- Support virtual fields.
|
||||
- Fix modify multiple times. (#279)
|
||||
- Added `-i` and `--in-transaction` options to `aerich migrate` command. (#296)
|
||||
- Fix generates two semicolons in a row. (#301)
|
||||
|
||||
### 0.7.1
|
||||
|
||||
|
@ -156,6 +156,7 @@ class Migrate:
|
||||
:param fk_m2m_index:
|
||||
:return:
|
||||
"""
|
||||
operator = operator.rstrip(";")
|
||||
if upgrade:
|
||||
if fk_m2m_index:
|
||||
cls._upgrade_fk_m2m_index_operators.append(operator)
|
||||
|
@ -1 +1 @@
|
||||
__version__ = "0.7.1"
|
||||
__version__ = "0.7.2"
|
||||
|
@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "aerich"
|
||||
version = "0.7.3"
|
||||
version = "0.7.2"
|
||||
description = "A database migrations tool for Tortoise ORM."
|
||||
authors = ["long2ice <long2ice@gmail.com>"]
|
||||
license = "Apache-2.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user