Skip to content

Commit

Permalink
Update justfile (#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
dinhani-cw authored Mar 19, 2024
1 parent 8d32257 commit 2f650cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ db-load-csv:
echo "truncate transactions;" >> data/psql.txt
echo "truncate logs;" >> data/psql.txt

ls -tr1 data/historical_nonces-*.csv | xargs -I{} printf "\\\\copy historical_nonce from '$(pwd)/%s' delimiter E'\\\\t' csv header;\n" "{}" >> data/psql.txt
ls -tr1 data/historical_nonces-*.csv | xargs -I{} printf "\\\\copy historical_nonces from '$(pwd)/%s' delimiter E'\\\\t' csv header;\n" "{}" >> data/psql.txt
ls -tr1 data/historical_balances-*.csv | xargs -I{} printf "\\\\copy historical_balances from '$(pwd)/%s' delimiter E'\\\\t' csv header;\n" "{}" >> data/psql.txt
ls -tr1 data/historical_slots-*.csv | xargs -I{} printf "\\\\copy historical_slots from '$(pwd)/%s' delimiter E'\\\\t' csv header;\n" "{}" >> data/psql.txt
ls -tr1 data/transactions-*.csv | xargs -I{} printf "\\\\copy transactions from '$(pwd)/%s' delimiter E'\\\\t' csv header;\n" "{}" >> data/psql.txt
Expand Down

0 comments on commit 2f650cc

Please sign in to comment.