Migrate all databases

41 views
Skip to first unread message

Alexander Schepanovski

unread,
Mar 11, 2015, 7:03:22 AM3/11/15
to django-d...@googlegroups.com
If I have 2 databases in my project like 'default' and 'second'. I wrote database router that models are created for right dbs. But anyway each time I need to call both:

./manage.py migrate
./manage.py migrate --database=second

It leads into forgetting one of dbs from time to time and also complicates deployment scripts.
Should we add something like

./manage migrate --all

?
Reply all
Reply to author
Forward
0 new messages