Skip to content

Commit

Permalink
chore: update csv import script (#744)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospb19-cw authored Apr 30, 2024
1 parent 47e62e3 commit 615572f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/import-csv-to-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function import() {

table=$(echo "$file" | grep -oP "(?<=/)\w+(?=-)")

echo "Importing $file..."
echo "Importing $file at $(date)"
time_it psql "$DATABASE_URL" -c "\copy $table FROM '$file' DELIMITER E'\t' CSV HEADER"

echo "$file" >> imported.logs
Expand Down

0 comments on commit 615572f

Please sign in to comment.