This commit is contained in:
@@ -363,14 +363,13 @@ namespace rockfishCore.Util
|
||||
//////////////////////////////////////////////////
|
||||
//schema 16 RAVEN stuff
|
||||
if (currentSchema < 16)
|
||||
{
|
||||
|
||||
{
|
||||
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, " +
|
||||
"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))" +
|
||||
"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" +
|
||||
")");
|
||||
exec("alter table site add legacyv7 boolean default 0 NOT NULL CHECK (fetched IN (0,1))");
|
||||
exec("alter table site add legacyv7 boolean default 0 NOT NULL CHECK (legacyv7 IN (0,1))");
|
||||
exec("alter table site add dbid text default 'v7_no_dbid' NOT NULL");
|
||||
exec("update site set legacyv7 = 1");
|
||||
exec("alter table license add dbid text default 'v7_no_dbid' NOT NULL");
|
||||
|
||||
Reference in New Issue
Block a user