copy over old dcard

This commit is contained in:
Paul Trowbridge 2018-05-29 22:35:16 -04:00
parent 9218408ddf
commit baadaaef8d
2 changed files with 2 additions and 1 deletions

1
reload/dump.sql Normal file
View File

@ -0,0 +1 @@
copy (select r.* from tps.trans join lateral jsonb_populate_record(null::tps.dcard, rec) r on true where srce = 'DCARD') to 'C:\users\fleet\downloads\dcard.csv' with (format csv, header true);

View File

@ -1 +1 @@
curl -v -F upload=@./data.csv http://localhost:81/import?srce=dcard
curl -v -F upload=@//mnt/c/Users/fleet/Downloads/dcard.csv http://localhost:81/import?srce=dcard