refactor: make in_transaction default True
This commit is contained in:
parent
467406ed20
commit
40d0823c01
@ -47,7 +47,7 @@ class Command:
|
|||||||
content=get_models_describe(self.app),
|
content=get_models_describe(self.app),
|
||||||
)
|
)
|
||||||
|
|
||||||
async def upgrade(self, run_in_transaction: bool):
|
async def upgrade(self, run_in_transaction: bool = True):
|
||||||
migrated = []
|
migrated = []
|
||||||
for version_file in Migrate.get_all_version_files():
|
for version_file in Migrate.get_all_version_files():
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user