Open
Description
In aerich.migrate:234, the current code fails to handle application names with multiple periods (e.g., example.account.models), incorrectly splitting the name and using the second segment.
Current Code:
model = cls._get_model(new_model_describe["name"].split(".")[1])
Suggested Fix:
model = cls._get_model(new_model_describe["name"].split(".")[-1])
Metadata
Metadata
Assignees
Labels
No labels