]> iEval git - gruntmaster-data.git/blobdiff - db.sql
Make redis-to-postgres also copy problems which are only in a contest
[gruntmaster-data.git] / db.sql
diff --git a/db.sql b/db.sql
index 5992b412da70e5e0b206f1eb30500027a778b059..3a43eb5c99b0747c69acfea559de6cf99e50aece 100644 (file)
--- a/db.sql
+++ b/db.sql
@@ -25,7 +25,7 @@ CREATE TABLE contests (
 
 CREATE TABLE problems (
        id        TEXT      PRIMARY KEY,
-       author    TEXT      NOT NULL,
+       author    TEXT,
        generator GENERATOR NOT NULL,
        judge     JUDGE     NOT NULL,
        level     PLEVEL    NOT NULL,
@@ -36,6 +36,7 @@ CREATE TABLE problems (
        runner    RUNNER    NOT NULL,
        statement TEXT      NOT NULL,
        testcnt   INT       NOT NULL,
+       tests     TEXT,
        timeout   REAL      NOT NULL,
        value     INT,
        verformat TEXT,
@@ -60,7 +61,7 @@ CREATE TABLE jobs (
        problem     TEXT    NOT NULL REFERENCES problems,
        result      INT,
        result_text TEXT,
-       results     JSON,
+       results     TEXT,
        source      TEXT    NOT NULL,
        owner       TEXT    NOT NULL REFERENCES users
 );
This page took 0.0234 seconds and 4 git commands to generate.