mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Update django_manage to add database option for migrate
Allow passing the database option to the django_manage module for migrations. This is usefull in situations where multiple databases are used by a django application.
This commit is contained in:
@@ -170,7 +170,7 @@ def main():
|
||||
syncdb=('database', ),
|
||||
test=('failfast', 'testrunner', 'liveserver', 'apps', ),
|
||||
validate=(),
|
||||
migrate=('apps', 'skip', 'merge'),
|
||||
migrate=('apps', 'skip', 'merge', 'database',),
|
||||
collectstatic=('link', ),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user