mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 03:41:58 +00:00
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:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user