#35123: Migrate prune apps that are deleted
-------------------------------------+-------------------------------------
Reporter: smoeinbbp | Owner: nobody
Type: New | Status: new
feature |
Component: Core | Version: 4.2
(Management commands) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
If we delete an app based on this guideline:
https://docs.djangoproject.com/en/4.2/howto/delete-app/ , so there is no
possibility to use prune command for removing stale migration records from
`django_migrations` table for a deleted app.
because we already removed the app from `INSTALLED_APPS`.
{{{
CommandError: No installed app with label 'xyz'.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35123>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.