This commit is contained in:
@@ -20,10 +20,10 @@ namespace AyaNova.Util
|
||||
/////////// CHANGE THIS ON NEW SCHEMA UPDATE ////////////////////
|
||||
|
||||
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!!
|
||||
private const int DESIRED_SCHEMA_LEVEL = 10;
|
||||
private const int DESIRED_SCHEMA_LEVEL = 11;
|
||||
|
||||
internal const long EXPECTED_COLUMN_COUNT = 104;
|
||||
internal const long EXPECTED_INDEX_COUNT = 31;
|
||||
internal const long EXPECTED_COLUMN_COUNT = 111;
|
||||
internal const long EXPECTED_INDEX_COUNT = 35;
|
||||
|
||||
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!!
|
||||
|
||||
@@ -321,7 +321,7 @@ namespace AyaNova.Util
|
||||
if (currentSchema < 11)
|
||||
{
|
||||
LogUpdateMessage(log);
|
||||
|
||||
|
||||
//CUSTOMER
|
||||
await ExecQueryAsync("CREATE TABLE acustomer (id BIGSERIAL PRIMARY KEY, name varchar(255) not null unique, active bool, " +
|
||||
"notes text NULL, wiki text null, customfields text NULL, tags varchar(255) ARRAY NULL)");
|
||||
|
||||
@@ -308,6 +308,8 @@ namespace AyaNova.Util
|
||||
await EraseTableAsync("asearchkey", conn);
|
||||
await EraseTableAsync("asearchdictionary", conn);
|
||||
await EraseTableAsync("atag", conn);
|
||||
//CUSTOMER
|
||||
await EraseTableAsync("acustomer", conn);
|
||||
|
||||
await conn.CloseAsync();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user