lemmy/scripts/clear_db.sh

4 lines
117 B
Bash
Executable File

#!/usr/bin/env bash
psql -U lemmy -c "DROP SCHEMA public CASCADE; CREATE SCHEMA public; DROP SCHEMA utils CASCADE;"