Skip to content

Commit

Permalink
try sending csv file through stdin for csvsql
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenglimEar committed Nov 1, 2023
1 parent c9988aa commit 0dd3c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
echo "c1,c2" > test.csv
echo "a,b" >> test.csv
cat test.csv
csvsql -v --doublequote --db postgresql:///disclosure-backend --insert test.csv
csvsql -v --doublequote --db postgresql:///disclosure-backend --insert < test.csv
echo "List tables"
psql -c "SELECT * FROM pg_catalog.pg_tables WHERE schemaname != 'pg_catalog' AND schemaname != 'information_schema';"
Expand Down

0 comments on commit 0dd3c03

Please sign in to comment.