We have a couple of databases with a tiny number of tables, but django-migrations has still go through all the migrations anyway.
-- So even if the SQL itself is nothing it still takes a massive amount of time and memory for the usual known issues with migrations on big projects.
I guess it works this way because it only knows at run time in the router if something should be done, however it's a bit odd.
If we declared the models per database somehow statically, could we not just skip everything else?
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f5340bbf-2247-4068-bd37-9f3a0faf23d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment