Replace migrations separator to sql standard comment

This commit is contained in:
long2ice
2020-12-23 23:30:35 +08:00
parent d2e0a68351
commit 840cd71e44
4 changed files with 82 additions and 174 deletions

View File

@@ -1 +1 @@
__version__ = "0.4.2"
__version__ = "0.4.3"

View File

@@ -58,8 +58,8 @@ def get_tortoise_config(ctx: Context, tortoise_orm: str) -> dict:
return config
_UPGRADE = "##### upgrade #####\n"
_DOWNGRADE = "##### downgrade #####\n"
_UPGRADE = "-- upgrade --\n"
_DOWNGRADE = "-- downgrade --\n"
def get_version_content_from_file(version_file: str) -> Dict: