Remove migrações excedentes de article e editorialboard#1360
Merged
robertatakenaka merged 1 commit intoscieloorg:mainfrom Feb 25, 2026
Merged
Remove migrações excedentes de article e editorialboard#1360robertatakenaka merged 1 commit intoscieloorg:mainfrom
robertatakenaka merged 1 commit intoscieloorg:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes two problematic migration files that were causing Django migration graph validation errors due to non-existent parent dependencies. The removed migrations were duplicate/excess files that conflicted with existing migrations that already implemented the necessary schema changes.
Changes:
- Removed
editorialboard/migrations/0012_change_country_to_foreignkey.pywhich referenced non-existent parent migration0011_add_manual_input_fields - Removed
article/migrations/0046_articleaffiliation.pywhich was a duplicate attempting to create the ArticleAffiliation model
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| editorialboard/migrations/0012_change_country_to_foreignkey.py | Removed obsolete migration that tried to change manual_institution_country from CharField to ForeignKey, but the field is already correctly defined as ForeignKey in the existing migration 0011 |
| article/migrations/0046_articleaffiliation.py | Removed duplicate migration that attempted to create ArticleAffiliation model, which is already created in the actual 0046 migration file (0046_contribcollab_contribperson_remove_article_collab_and_more.py) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
O que esse PR faz?
Corrige o problema a seguir causado por migrações excedentes.