mirror of https://github.com/zulip/zulip.git
migrations: Disable prompting about content-type deletion.
The main function of prompting inside `manage.py migrate` is to ask the user if they want to delete stale content-types, which is unimportant and likely scary, so we disable doing so.
This commit is contained in:
parent
d0f2c46f25
commit
ae48f6394b
|
@ -44,7 +44,7 @@ subprocess.check_call(["./scripts/zulip-puppet-apply", "--force"])
|
|||
subprocess.check_call(["apt-get", "upgrade"])
|
||||
|
||||
logging.info("Applying database migrations...")
|
||||
subprocess.check_call(["./manage.py", "migrate"], preexec_fn=su_to_zulip)
|
||||
subprocess.check_call(["./manage.py", "migrate", "--noinput"], preexec_fn=su_to_zulip)
|
||||
|
||||
logging.info("Restarting Zulip...")
|
||||
subprocess.check_call(["cp", "-rT", os.path.join(deploy_path, 'prod-static/serve'),
|
||||
|
|
Loading…
Reference in New Issue