#32083: Multiple Databases example suggest explaining migrate requires
--database
be specified for non-default
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
alligatorbait |
Type: | Status: new
Cleanup/optimization |
Component: | Version:
Documentation | Keywords: migrate, multiple,
Severity: Normal | databases
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
In the Multiple Databases section of the documentation it would be
extremely helpful to know that the migrate command must be run for each
database with --database= for any non-default database. It took me some
time to discover this through a stack-overflow post.
This affects all versions.
https://docs.djangoproject.com/en/2.2/topics/db/multi-db/#an-example
https://stackoverflow.com/questions/35609509/django-migrations-with-
multiple-databases
Thanks, I hope this helps the community.
--
Ticket URL: <https://code.djangoproject.com/ticket/32083>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/056.e4ba6e7d454f19fd4d3b67fa7756f976%40djangoproject.com.