From: Marius Gavrilescu Date: Mon, 24 Mar 2014 18:36:14 +0000 (+0200) Subject: Make redis-to-postgres also copy the tests column of problems X-Git-Tag: 5999.000_003~20 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=9364b433cd9e4514740a16c0d9a3df499d68eda3;p=gruntmaster-data.git Make redis-to-postgres also copy the tests column of problems --- diff --git a/redis-to-postgres b/redis-to-postgres index 5ed1575..330d5a6 100755 --- a/redis-to-postgres +++ b/redis-to-postgres @@ -37,6 +37,7 @@ for (problems) { statement => problem_statement, testcnt => problem_testcnt() // $meta->{testcnt}, timeout => problem_timeout() // $meta->{timeout}, + (problem_runner() // $meta->{runner}) eq 'File' ? (tests => encode_json $meta->{tests}) : (), exists $meta->{files} ? (versource => $meta->{files}{ver}{content}, verformat => $meta->{files}{ver}{format}) : () }) }