#22831: Migrations should provide a way to dumpdata to an initial data migration
-----------------------------+------------------------------------
Reporter: gcbirzan | Owner: nobody
Type: New feature | Status: new
Component: Migrations | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+------------------------------------
Changes (by mjtamlyn):
* needs_better_patch: => 0
* needs_tests: => 0
* version: 1.7-beta-2 => master
* needs_docs: => 0
* type: Uncategorized => New feature
* stage: Unreviewed => Accepted
Comment:
I agree there is no current "dumpdata" to get an initial data migration.
This would likely be helpful, and is a new feature. It's actually
orthogonal to updating from South - any situation where you would
previously have done a dumpdata > initial_data.json you now wish to do a
dumpdata > initial_migration. I think this feature is likely useful,
though the implementation is probably hard and I do not feel its absence
is a release blocking issue.
I'm concerned about your comments about migrations speed and upgrading
from South. However this ticket is now about adding a new feature to the
migrations framework - if you have concerns about migration's performance
please raise a separate ticket or open a discussion on django-dev.
--
Ticket URL: <https://code.djangoproject.com/ticket/22831#comment:1>
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/066.73a631939f9cb3fa44282b2ffab34915%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.