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))" + ")");