lemmy/scripts/clear_db.sh

4 lines
109 B
Bash
Raw Permalink Normal View History

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