Opened 10 years ago
Closed 10 years ago
#22751 closed New feature (needsinfo)
Reset Migration
Reported by: | anonymous | Owned by: | nobody |
---|---|---|---|
Component: | Migrations | Version: | 1.7-beta-2 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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?
Note:
See TracTickets
for help on using tickets.
I believe squashmigrations does this.
If it doesn't fit your needs, can you clarify why?