question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Migrations are missing for 5.0

See original GitHub issue

I 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:open
  • Created 2 years ago
  • Reactions:3
  • Comments:15 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
tonycommented, Oct 12, 2022

@jan-szejko-steelseries Sorry for the delay - I’m not available during the weekdays (I will give this my undivided attention on Saturday)

0reactions
tonycommented, Oct 15, 2022

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 in django_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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found