summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-06-14 18:52:22 -0400
committerJesse Luehrs <doy@tozt.net>2020-06-14 18:52:22 -0400
commit40b3c9ebdf35243c85395694ebe89206e11bad3b (patch)
tree0625c5d774d89dee6609f10797ba310058e5e612
parentf45cacd7aa63fd2bbcd4b1f6393c3e6dd10c7d79 (diff)
downloadmetabase-utils-40b3c9ebdf35243c85395694ebe89206e11bad3b.tar.gz
metabase-utils-40b3c9ebdf35243c85395694ebe89206e11bad3b.zip
quiet notices about dropping things that don't exist
-rwxr-xr-xbin/load2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/load b/bin/load
index d44a0a1..208c011 100755
--- a/bin/load
+++ b/bin/load
@@ -1,6 +1,8 @@
#!/bin/sh
set -eu
+export PGOPTIONS="-c client_min_messages=warning"
+
/home/doy/.cargo/bin/ynab-export
psql -U metabase money -c 'DROP VIEW IF EXISTS spending'
/home/doy/.cargo/bin/ynab-export schema | psql -U metabase money