This commit is contained in:
2022-08-29 00:44:51 +00:00
parent c2cf61c4ce
commit 6318631014
7 changed files with 122 additions and 28 deletions

View File

@@ -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);
}
//*************************************************************************************