diff --git a/aerich/__init__.py b/aerich/__init__.py index 2109b94..3ad1e91 100644 --- a/aerich/__init__.py +++ b/aerich/__init__.py @@ -47,7 +47,7 @@ class Command: content=get_models_describe(self.app), ) - async def upgrade(self, run_in_transaction: bool): + async def upgrade(self, run_in_transaction: bool = True): migrated = [] for version_file in Migrate.get_all_version_files(): try: