Opened 13 hours ago
Closed 11 hours ago
#35970 closed New feature (wontfix)
Add command to remove migration files and have a single migration.
Reported by: | VincentAdamNemessis | Owned by: | VincentAdamNemessis |
---|---|---|---|
Component: | Core (Management commands) | Version: | 5.1 |
Severity: | Normal | Keywords: | migrations |
Cc: | VincentAdamNemessis | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
- add delete command for migration(s) [just like a specific migration file, a app migrations and so on]
- add restore-init command for migration(s) [just like empty a specific app's migrations and use current models to re-init it]
Change History (3)
comment:1 by , 13 hours ago
comment:2 by , 13 hours ago
Easy pickings: | set |
---|---|
Owner: | set to |
Status: | new → assigned |
comment:3 by , 11 hours ago
Easy pickings: | unset |
---|---|
Resolution: | → wontfix |
Status: | assigned → closed |
Summary: | Migrations Management → Add command to remove migration files and have a single migration. |
I think this feels like a mixture of the squashing migrations and perhaps #24711. If these 2 features would satisfy the need, then we can close this as a duplicate of #24711
If you want something different, the way to request new features is to first propose and discuss the idea with the community and gain consensus. To do that, please consider starting a new conversation on the Django Forum, where you'll reach a broader audience and receive additional feedback.
I'll close the ticket for now, but if the community agrees with the proposal, please return to this ticket and reference the forum discussion so we can re-open it. For more information, please refer to the documented guidelines for requesting features.
Now I can delete app's migration(s) or specific migration(s), and they can rollback to start when some errors occured.