Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix untracked Django's view of migration state #2663

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

kelvin-muchiri
Copy link
Contributor

@kelvin-muchiri kelvin-muchiri commented Aug 9, 2024

Changes / Features implemented

A previous change to safe rename indexes did not separate database and state hence Django does not recognize that the schema changes were applied. Running makemigrations command creates a new migration since the model state and actual state of the database are out of sync.

a previous change to safe rename indexes did not separate database and state hence on Django does not recognize that the migration was applied. Running `makemigrations` command creates a new migration
@kelvin-muchiri kelvin-muchiri changed the title Fix untracked migration state Fix untracked Django's view of migration state Aug 9, 2024
@kelvin-muchiri kelvin-muchiri merged commit a228a4f into main Aug 9, 2024
10 checks passed
@kelvin-muchiri kelvin-muchiri deleted the fix-untracked-migrations branch August 9, 2024 11:20
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.

2 participants