zulip/scripts/setup/postgres-reset-sequences

6 lines
123 B
Bash
Executable File

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