zulip/scripts/setup/postgres-reset-sequences

6 lines
123 B
Plaintext
Raw Normal View History

#!/bin/bash
set -e
./manage.py sqlsequencereset zerver | ./manage.py dbshell
echo "Sequence has been reset successfully!"