1
0
mirror of https://gitlab.crans.org/bde/nk20-scripts synced 2024-12-25 17:02:23 +00:00

flush db is not enough

This commit is contained in:
Pierre-antoine Comby 2020-04-10 23:06:12 +02:00
parent 07e149363a
commit 6ed6551459

3
shell/tabularasa Executable file
View File

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