case 4237
This commit is contained in:
@@ -16,6 +16,11 @@ See the [upgrade instructions](ops-upgrade.md) section of this manual for detail
|
||||
|
||||
- UI: New Quote status object's *default* Roles for who can set and who can remove changed to all compatible Roles (had some incompatible ones before)
|
||||
|
||||
|
||||
#### Fixed
|
||||
|
||||
- UI: Home schedule form appointment item icons nudged upwards to layout fully visibly in month view
|
||||
|
||||
### AyaNova 8.0.20 (2022-11-03)
|
||||
|
||||
#### Fixed
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace AyaNova.Util
|
||||
/////////// CHANGE THIS ON NEW SCHEMA UPDATE ////////////////////
|
||||
|
||||
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImportingAsync WHEN NEW TABLES ADDED!!!!
|
||||
private const int DESIRED_SCHEMA_LEVEL = 8;
|
||||
private const int DESIRED_SCHEMA_LEVEL = 9;
|
||||
|
||||
internal const long EXPECTED_COLUMN_COUNT = 1378;
|
||||
internal const long EXPECTED_INDEX_COUNT = 161;
|
||||
@@ -1589,6 +1589,29 @@ $BODY$ LANGUAGE PLPGSQL STABLE");
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////
|
||||
//
|
||||
// 8.0.21 additions for case 4237
|
||||
//
|
||||
if (currentSchema < 9)
|
||||
{
|
||||
LogUpdateMessage(log);
|
||||
|
||||
//english translations
|
||||
await ExecQueryAsync("INSERT INTO atranslationitem(translationid,key,display) SELECT t.id, 'NewWorkOrder', 'New work order' FROM atranslation t where t.baselanguage = 'en'");
|
||||
|
||||
//spanish translations
|
||||
await ExecQueryAsync("INSERT INTO atranslationitem(translationid,key,display) SELECT t.id, 'NewWorkOrder', 'nueva orden de trabajo' FROM atranslation t where t.baselanguage = 'es'");
|
||||
|
||||
//french translations
|
||||
await ExecQueryAsync("INSERT INTO atranslationitem(translationid,key,display) SELECT t.id, 'NewWorkOrder', 'Nouvel ordre de travail' FROM atranslation t where t.baselanguage = 'fr'");
|
||||
|
||||
//german translations
|
||||
await ExecQueryAsync("INSERT INTO atranslationitem(translationid,key,display) SELECT t.id, 'NewWorkOrder', 'Neuer Arbeitsauftrag' FROM atranslation t where t.baselanguage = 'de'");
|
||||
|
||||
await SetSchemaLevelAsync(++currentSchema);
|
||||
}
|
||||
|
||||
//#########################################
|
||||
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user