Explorar el Código

default to NULL for outcome and forecast values

George C. Privon hace 6 años
padre
commit
dfb6494760
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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")))