From 6ed65514598aed07c9877d7bf5cbe52606296d2c Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Fri, 10 Apr 2020 23:06:12 +0200 Subject: [PATCH] flush db is not enough --- shell/tabularasa | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 shell/tabularasa diff --git a/shell/tabularasa b/shell/tabularasa new file mode 100755 index 0000000..658265c --- /dev/null +++ b/shell/tabularasa @@ -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';