mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
scripts: Remove the depreciated script 'postgres-reset-sequences'.
This commit is contained in:
@@ -1,5 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
|
|
||||||
./manage.py sqlsequencereset zerver | ./manage.py dbshell
|
|
||||||
echo "Sequence has been reset successfully!"
|
|
||||||
@@ -82,8 +82,5 @@ import a database dump from one or more JSON files."""
|
|||||||
|
|
||||||
print("Processing dump: %s ..." % (path,))
|
print("Processing dump: %s ..." % (path,))
|
||||||
realm = do_import_realm(path, subdomain)
|
realm = do_import_realm(path, subdomain)
|
||||||
print("Resetting auto-increment sequence for Postgres......")
|
|
||||||
subprocess.check_call([os.path.join(settings.DEPLOY_ROOT,
|
|
||||||
"scripts/setup/postgres-reset-sequences")])
|
|
||||||
print("Checking the system bots.")
|
print("Checking the system bots.")
|
||||||
do_import_system_bots(realm)
|
do_import_system_bots(realm)
|
||||||
|
|||||||
Reference in New Issue
Block a user