Skip to content

Commit 840cd71

Browse files
committed
Replace migrations separator to sql standard comment
1 parent d2e0a68 commit 840cd71

File tree

4 files changed

+82
-174
lines changed

4 files changed

+82
-174
lines changed

aerich/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.4.2"
1+
__version__ = "0.4.3"

aerich/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ def get_tortoise_config(ctx: Context, tortoise_orm: str) -> dict:
5858
return config
5959

6060

61-
_UPGRADE = "##### upgrade #####\n"
62-
_DOWNGRADE = "##### downgrade #####\n"
61+
_UPGRADE = "-- upgrade --\n"
62+
_DOWNGRADE = "-- downgrade --\n"
6363

6464

6565
def get_version_content_from_file(version_file: str) -> Dict:

0 commit comments

Comments
 (0)