This commit is contained in:
@@ -13,7 +13,7 @@ namespace rockfishCore.Util
|
||||
|
||||
/////////////////////////////////////////////////////////////////
|
||||
/////////// CHANGE THIS ON NEW SCHEMA UPDATE ////////////////////
|
||||
public const int DESIRED_SCHEMA_LEVEL = 17;
|
||||
public const int DESIRED_SCHEMA_LEVEL = 18;
|
||||
/////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
@@ -404,6 +404,22 @@ namespace rockfishCore.Util
|
||||
currentSchema = 17;
|
||||
setSchemaLevel(currentSchema);
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////
|
||||
//schema 18 Shareit notifications
|
||||
if (currentSchema < 18)
|
||||
{
|
||||
|
||||
exec("CREATE TABLE vendornotification (" +
|
||||
"id INTEGER PRIMARY KEY, dtcreated integer not null, vendor text not null, data text not null, dtprocessed integer, processed boolean default 0 NOT NULL CHECK (processed IN (0,1))" +
|
||||
")");
|
||||
|
||||
currentSchema = 18;
|
||||
setSchemaLevel(currentSchema);
|
||||
}
|
||||
|
||||
|
||||
//*************************************************************************************
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user