You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
I also noticed that after initially running init-db, I can add a new app, but migrations won't be created unless I manually create the folder migrations/{{APP}}. After that, a migration file is created, but with an error: aerich\migrate.py:64 in _get_model (KeyError: {{MODEL NAME}})
Despite this error during migration creation, I can still run migrate, which completes successfully, even though the error in aerich\migrate.py:64 in _get_model occurs during migration generation.
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:
Suggested Fix:
The text was updated successfully, but these errors were encountered: