瀏覽代碼

default to NULL for outcome and forecast values

George C. Privon 6 年之前
父節點
當前提交
dfb6494760
共有 1 個文件被更改,包括 2 次插入2 次删除
  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")))