fix: generates two semicolons in a row. (#301)

This commit is contained in:
long2ice
2023-05-12 14:52:17 +08:00
parent dbc0d9e7ef
commit f0bc3126e9
4 changed files with 5 additions and 6 deletions

View File

@@ -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)

View File

@@ -1 +1 @@
__version__ = "0.7.1"
__version__ = "0.7.2"