Sfoglia il codice sorgente

default to NULL for outcome and forecast values

George C. Privon 6 anni fa
parent
commit
dfb6494760
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      code/create_database.rkt

+ 2 - 2
code/create_database.rkt

@@ -14,8 +14,8 @@
 date TEXT NOT NULL,
 prediction TEXT NOT NULL,
 categories TEXT DEFAULT '',
-forecast float,
-outcome int,
+forecast float DEFAULT NULL,
+outcome int DEFAULT NULL,
 comments TEXT DEFAULT '')")
   (disconnect conn)
   (write-string (string-append "Database created at " dbloc "\n")))