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)
|
- 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)
|
### AyaNova 8.0.20 (2022-11-03)
|
||||||
|
|
||||||
#### Fixed
|
#### Fixed
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ namespace AyaNova.Util
|
|||||||
/////////// CHANGE THIS ON NEW SCHEMA UPDATE ////////////////////
|
/////////// CHANGE THIS ON NEW SCHEMA UPDATE ////////////////////
|
||||||
|
|
||||||
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImportingAsync WHEN NEW TABLES ADDED!!!!
|
//!!!!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_COLUMN_COUNT = 1378;
|
||||||
internal const long EXPECTED_INDEX_COUNT = 161;
|
internal const long EXPECTED_INDEX_COUNT = 161;
|
||||||
@@ -1521,7 +1521,7 @@ $BODY$ LANGUAGE PLPGSQL STABLE");
|
|||||||
if (currentSchema < 6)
|
if (currentSchema < 6)
|
||||||
{
|
{
|
||||||
LogUpdateMessage(log);
|
LogUpdateMessage(log);
|
||||||
|
|
||||||
//!!WARNING: changes TO AUSER need to be reflected in dbutil::EmptyBizDataFromDatabaseForSeedingOrImportingAsync auser_backup
|
//!!WARNING: changes TO AUSER need to be reflected in dbutil::EmptyBizDataFromDatabaseForSeedingOrImportingAsync auser_backup
|
||||||
await ExecQueryAsync("ALTER TABLE auser ADD column allowlogin BOOL");
|
await ExecQueryAsync("ALTER TABLE auser ADD column allowlogin BOOL");
|
||||||
await ExecQueryAsync("UPDATE auser SET allowlogin=true WHERE active=true");
|
await ExecQueryAsync("UPDATE auser SET allowlogin=true WHERE active=true");
|
||||||
@@ -1583,12 +1583,35 @@ $BODY$ LANGUAGE PLPGSQL STABLE");
|
|||||||
LogUpdateMessage(log);
|
LogUpdateMessage(log);
|
||||||
|
|
||||||
await ExecQueryAsync("ALTER TABLE aopsjob ADD column progress TEXT");
|
await ExecQueryAsync("ALTER TABLE aopsjob ADD column progress TEXT");
|
||||||
|
|
||||||
await SetSchemaLevelAsync(++currentSchema);
|
await SetSchemaLevelAsync(++currentSchema);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// 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!!!!
|
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!!
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user