summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-11-09 11:32:08 +0100
committeremkael <emkael@tlen.pl>2019-11-09 11:32:08 +0100
commite401b88b24e25598dc488e080f4bf2200b45efdd (patch)
tree08cf4e4f9f0052c78cc266f8577e5708158ef760 /bin
parent19a9bbbb5b44cce3411fd1452096b270d6441b13 (diff)
Importing rankings compatible with baza2.csv format
Diffstat (limited to 'bin')
-rwxr-xr-xbin/rankings-csv-import.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/rankings-csv-import.sh b/bin/rankings-csv-import.sh
index 54ce6bc..9eddd82 100755
--- a/bin/rankings-csv-import.sh
+++ b/bin/rankings-csv-import.sh
@@ -7,7 +7,7 @@ REPLACE
INTO TABLE temp_rankings
FIELDS TERMINATED BY ',';
INSERT INTO rankings (
- SELECT pid, \`date\`, place, score, region, flags, rank, club, 0
+ SELECT pid, \`date\`, place, score, region, gender, flags, rank, club, 0
FROM temp_rankings
JOIN players
ON players.id = temp_rankings.pid