#23833: Add a management command to drop all tables
-------------------------------------+-------------------------------------
     Reporter:  MattBlack85          |                    Owner:
                                     |  MattBlack85
         Type:  New feature          |                   Status:  closed
    Component:  Core (Management     |                  Version:  master
  commands)                          |               Resolution:
     Severity:  Normal               |  worksforme
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by thenewguy):

 I tried this but it doesn't work with non-reversable migrations... raise
 Migration.IrreversibleError("Operation %s in %s is not reversible" %
 (operation, self))

 It would be handy to be able to clear a database even when the migrations
 cannot be reversed

--
Ticket URL: <https://code.djangoproject.com/ticket/23833#comment:15>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.fe5aa67cde23ef76e4ff7de48b7de7c1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to