aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-08-27 01:17:59 -0400
committerJesse Luehrs <doy@tozt.net>2019-08-27 01:17:59 -0400
commit426bcffb2cd6f7b1e8ff95b5e0772e48ba28988f (patch)
treeaeaddf57b9f6bb406d4a312310f677b5c6f0477d /README.md
parentd8b6975f3648bef228060f71480c86cc2d9cd540 (diff)
downloadynab-export-426bcffb2cd6f7b1e8ff95b5e0772e48ba28988f.tar.gz
ynab-export-426bcffb2cd6f7b1e8ff95b5e0772e48ba28988f.zip
add a command to dump the schema too
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index a3c5c8b..a9ac200 100644
--- a/README.md
+++ b/README.md
@@ -6,8 +6,9 @@ file that can be used to represent this data.
## Example
+ ynab-export schema | psql ynab
+
ynab-export
- psql ynab < data/schema.sql
psql ynab -c 'COPY accounts FROM STDIN' < accounts.tsv
psql ynab -c 'COPY category_groups FROM STDIN' < category_groups.tsv
psql ynab -c 'COPY categories FROM STDIN' < categories.tsv