summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-02-01 01:46:43 -0500
committerJesse Luehrs <doy@tozt.net>2020-02-01 01:46:43 -0500
commite5d9554743d9a969566a834274fc8569e46c89f2 (patch)
tree0b9d81eab4e71cf5dab98656e6fecf7bb288ed06 /bin
parentbe5cc2cc5319a254f31b64098a1d76656b0d32a4 (diff)
downloadmetabase-utils-e5d9554743d9a969566a834274fc8569e46c89f2.tar.gz
metabase-utils-e5d9554743d9a969566a834274fc8569e46c89f2.zip
drop the new view we added
Diffstat (limited to 'bin')
-rwxr-xr-xbin/load1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/load b/bin/load
index 789a858..d44a0a1 100755
--- a/bin/load
+++ b/bin/load
@@ -2,6 +2,7 @@
set -eu
/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
seq 1000000 | psql -U metabase money -c 'COPY ints FROM STDIN'