lemmy/scripts/clear_db.sh

4 lines
117 B
Bash
Raw Normal View History

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