From: Nicolas Boisselier Date: Thu, 7 Mar 2019 00:50:38 +0000 (+0000) Subject: lib/postgres/update.sh X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=49cdb687df859f7897ca44a0c01fcc44367f1abc;p=nb.git lib/postgres/update.sh --- diff --git a/lib/postgres/update.sh b/lib/postgres/update.sh index 5dd2bf87..a94bfb11 100755 --- a/lib/postgres/update.sh +++ b/lib/postgres/update.sh @@ -7,4 +7,3 @@ DB=${1:?Db name missing} psql "$DB" -Atc '\dt' | grep '^public|' | cut -d'|' -f2 | while read t; do grep -vE '^DROP|--' $t.sql 2>/dev/null done | psql "$DB" -q -