From 0c577e638bcf5db78f8d9f804f362df58a9bc2c8 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 9 Jun 2020 17:53:11 +0000 Subject: [PATCH] --- util/RfSchema.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/RfSchema.cs b/util/RfSchema.cs index cbc1f75..bf1357f 100644 --- a/util/RfSchema.cs +++ b/util/RfSchema.cs @@ -370,7 +370,8 @@ namespace rockfishCore.Util // ")"); exec("CREATE TABLE trialrequest (" + - "id INTEGER PRIMARY KEY, dbid text not null, companyname text not null, contactname text not null, notes text, email text not null, dtrequested integer, " + + "id INTEGER PRIMARY KEY, dbid text not null, companyname text not null, contactname text not null, notes text, email text not null, " + + "emailvalidated boolean default 0 NOT NULL CHECK (emailvalidated IN (0,1)) dtrequested integer, " + "dtprocessed integer, status integer default 0 not null, rejectreason text, key text, dtfetched integer, fetched boolean default 0 NOT NULL CHECK (fetched IN (0,1))" + ")");