mirror of
https://gitlab.crans.org/bde/nk20-scripts
synced 2024-12-26 01:12:25 +00:00
4 lines
121 B
Plaintext
4 lines
121 B
Plaintext
|
#!/usr/bin/sh
|
||
|
sudo -u postgres sh -c "dropdb note_db && psql -c 'CREATE DATABASE note_db OWNER note;'";
|
||
|
echo 'reset db';
|