lemmy/scripts/clear_db.sh

4 lines
117 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
2021-03-11 11:41:04 -05:00
psql -U lemmy -c "DROP SCHEMA public CASCADE; CREATE SCHEMA public; DROP SCHEMA utils CASCADE;"