[Django] #22751: Reset Migration

7 views
Skip to first unread message

Django

unread,
Jun 2, 2014, 2:04:58 PM6/2/14
to django-...@googlegroups.com
#22751: Reset Migration
-----------------------------+------------------------
Reporter: anonymous | Owner: nobody
Type: New feature | Status: new
Component: Migrations | Version: 1.7-beta-2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+------------------------
Hello,
Would be great to have a management command to erase all migration data
(files and db), Or event better to erase from some point of time - so that
in development after changing the models mayny time, and made a lot of
migration files, we can erase all of them, make one migration and commit
out code?

--
Ticket URL: <https://code.djangoproject.com/ticket/22751>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jun 2, 2014, 2:58:28 PM6/2/14
to django-...@googlegroups.com
#22751: Reset Migration
-----------------------------+--------------------------------------
Reporter: anonymous | Owner: nobody
Type: New feature | Status: closed
Component: Migrations | Version: 1.7-beta-2
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------------------------
Changes (by aaugustin):

* status: new => closed
* needs_better_patch: => 0
* resolution: => needsinfo
* needs_tests: => 0
* needs_docs: => 0


Comment:

I believe [https://docs.djangoproject.com/en/dev/ref/django-admin
/#squashmigrations-app-label-migration-name squashmigrations] does this.

If it doesn't fit your needs, can you clarify why?

--
Ticket URL: <https://code.djangoproject.com/ticket/22751#comment:1>

Reply all
Reply to author
Forward
0 new messages