Skip to content
Snippets Groups Projects
Commit 1cf5aa0c authored by Calen Pennington's avatar Calen Pennington
Browse files

Merge pull request #6325 from cpennington/update-db-for-cms

Make paver update_db run against both LMS and Studio models
parents 59eba959 519b0f5e
No related branches found
No related tags found
No related merge requests found
......@@ -156,8 +156,8 @@ def update_db():
Runs syncdb and then migrate.
"""
settings = getattr(options, 'settings', DEFAULT_SETTINGS)
sh(django_cmd('lms', settings, 'syncdb', '--traceback', '--pythonpath=.'))
sh(django_cmd('lms', settings, 'migrate', '--traceback', '--pythonpath=.'))
for system in ('lms', 'cms'):
sh(django_cmd(system, settings, 'syncdb', '--migrate', '--traceback', '--pythonpath=.'))
@task
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment