This commit is contained in:
2020-07-09 23:02:12 +00:00
parent 8d46690826
commit edb3b28750
3 changed files with 12 additions and 7 deletions

View File

@@ -22,7 +22,7 @@ namespace AyaNova.Util
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!!
private const int DESIRED_SCHEMA_LEVEL = 12;
internal const long EXPECTED_COLUMN_COUNT = 369;
internal const long EXPECTED_COLUMN_COUNT = 370;
internal const long EXPECTED_INDEX_COUNT = 138;
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!!
@@ -230,7 +230,7 @@ namespace AyaNova.Util
//create global biz settings table
await ExecQueryAsync("CREATE TABLE aglobalbizsettings (id integer NOT NULL PRIMARY KEY, " +
"searchcasesensitiveonly bool default false)");
"searchcasesensitiveonly bool default false, notificationsystemactive bool not null default true)");
//create global ops BACKUP settings table
await ExecQueryAsync("CREATE TABLE aglobalopsbackupsettings (id integer NOT NULL PRIMARY KEY, active bool not null, " +

View File

@@ -18,6 +18,7 @@ namespace AyaNova.Util
{
internal static bool SearchCaseSensitiveOnly { get; set; }
internal static bool NotificationSystemActive { get; set; }
/// <summary>
/// Populate and / or create the settings
@@ -39,6 +40,7 @@ namespace AyaNova.Util
//We have the object, now copy the static values here
SearchCaseSensitiveOnly = global.SearchCaseSensitiveOnly;
NotificationSystemActive = global.NotificationSystemActive;
}