Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Ekumen-OS/tortoise-data-migration i…
Browse files Browse the repository at this point in the history
…nto main
  • Loading branch information
manzato committed Jun 16, 2021
2 parents 13156aa + 2abef17 commit c97f450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tortoise_data_migration/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def get_available_migrations(base_package: str) -> typing.List[Migration]:
migration = Migration(name=match.group(1), package=base_package)
migrations.append(migration)
logger.debug(f"Found migration {migration.module_name}")
return migrations
return sorted(migrations, key=lambda m: m.module_name)


async def get_pending_migrations(base_package: str) -> typing.List[Migration]:
Expand Down

0 comments on commit c97f450

Please sign in to comment.