1
0
mirror of https://gitlab.crans.org/bde/nk20-scripts synced 2024-12-27 18:02:25 +00:00
nk20-scripts/shell/tabularasa
2020-04-10 23:06:12 +02:00

4 lines
121 B
Bash
Executable File

#!/usr/bin/sh
sudo -u postgres sh -c "dropdb note_db && psql -c 'CREATE DATABASE note_db OWNER note;'";
echo 'reset db';