Skip to content

Conversation

@waketzheng
Copy link
Contributor

Description

When I have an empty migrations/ directory or empty aerich table, run aerich fix-migrations print message: "No migration files to update. All files are already in the correct format."

So I change return value of the fix_migrations function from list[str] to list[str] | None, if return value is None, the message above will not print.

@waketzheng waketzheng merged commit fad458f into tortoise:dev Oct 10, 2025
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant