Hey guys, I'm not sure if I should be asking this here, but it's related to 
django internals.

I have this idea to create a command that uses the migrations api to 
migrate all the data from one database (eg. MySQL) to another database 
(PostgreSQL).

So I would run the migrations in the new target database, then flush all 
the tables there, and model by model do a bunch of bulk_create into the new 
database using the result queryset from the source database.


The questions are: do you think it is feasible to make all of this inside a 
command? If I have to change the migrations api to make it happen, do you 
think this could be a nice feature to have in Django?


Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" 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].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/1f588512-dc82-4182-a87b-cbdabea71a11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to