#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.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018d1c4c9045-15ccd5bb-071e-4e58-bd3a-6c9ffbf4867c-000000%40eu-central-1.amazonses.com.

Reply via email to