lemmy/scripts/clear_db.sh

4 lines
109 B
Bash
Executable File

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