This commit is contained in:
2020-11-12 22:14:09 +00:00
parent e8868c93f4
commit 70282c8fd5
6 changed files with 13 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 = 15;
internal const long EXPECTED_COLUMN_COUNT = 444;
internal const long EXPECTED_COLUMN_COUNT = 445;
internal const long EXPECTED_INDEX_COUNT = 144;
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!!
@@ -338,7 +338,7 @@ $BODY$;
//Add user options table
await ExecQueryAsync("CREATE TABLE auseroptions (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, " +
"userid bigint not null REFERENCES auser (id), translationid bigint not null REFERENCES atranslation (id), languageoverride text, timezoneoverride text, " +
"currencyname text, hour12 bool not null, emailaddress text, uicolor varchar(12) not null default '#000000')");
"currencyname text, hour12 bool not null, emailaddress text, uicolor varchar(12) not null default '#000000', mapurltemplate text)");
//Prime the db with the default SuperUser account