Migrations are missing for 5.0
See original GitHub issueI got this message after upgrading to 5.0.
Your models in app(s): 'robots' have changes that are not yet reflected in a migration, and so won't be applied.
Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.
The migration is forgotten to include in the commit.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:15 (10 by maintainers)
Top Results From Across the Web
Entity Framework 5.0 RC - Package Manager command 'add ...
Entity Framework 5.0 RC - Package Manager command 'add-migration' fails due to supposedly missing configuration type · Do you have multiple projects in...
Read more >Data Migration from V4.3.11 to V5 missing test item data #1164
I was doing a data migration from v4 to v5 with few months before data ( 01/06/2020) and I see the status of...
Read more >Add-Migration does not detect the change for Entity Framwork ...
It seems that the Entity Framework and the database is out of sync and I would need to run the Add-Migration and Update...
Read more >Possible migration file missing from third party package?
As a debugging / diagnostic step, I'd try deleting all migrations that depend on that 0005_ migration and all migrations that depend on...
Read more >Unable to migrate to Capella 5.0.0 with FIltering AddOn
Some extensions are missing Unknown 'FilteringModel[]' from model 'http://www.polarsys.org/capella/filtering/1.4.0'. Ist there a special way to ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@jan-szejko-steelseries Sorry for the delay - I’m not available during the weekdays (I will give this my undivided attention on Saturday)
Looking for testers for 6.0b0 (PyPI, GitHub release, changes)
I’ve released 6.0b0, which has @jan-szejko-steelseries’s patch from #134
I am looking for feedback on this before release☝️
5.0 users: Getting migrations back on track
If you already applied a custom migration, you may need to resolve this (once)
If you ran
makemigrations
and applied the custom migration - there may be another migration conflict yet to solve to get back on track with django-robots. If you see a migration row indjango_migrations
that isn’t in src/robots/migrations, that may be the case.If you do run into migration issues (conflicts with custom migrations) I’m also interested in steps you took to resolve the conflicts.
cc: @amourousias @fabien-michel @vdejong @jan-szejko-steelseries @michaeljcollinsuk @mattaustin @jonprindiville, @svandeneertwegh @justin-ven from #125