case 4503
This commit is contained in:
@@ -20,7 +20,7 @@ namespace Sockeye.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 = 17;
|
private const int DESIRED_SCHEMA_LEVEL = 18;
|
||||||
|
|
||||||
internal const long EXPECTED_COLUMN_COUNT = 531;
|
internal const long EXPECTED_COLUMN_COUNT = 531;
|
||||||
internal const long EXPECTED_INDEX_COUNT = 75;
|
internal const long EXPECTED_INDEX_COUNT = 75;
|
||||||
@@ -1464,6 +1464,35 @@ $BODY$ LANGUAGE PLPGSQL STABLE");
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// case 4503
|
||||||
|
//
|
||||||
|
if (currentSchema < 18)
|
||||||
|
{
|
||||||
|
LogUpdateMessage(log);
|
||||||
|
|
||||||
|
//seriously, how does one get this far into a big business application and not have a Save as yet?
|
||||||
|
//inconceivable!
|
||||||
|
|
||||||
|
//english translations
|
||||||
|
await ExecQueryAsync("INSERT INTO atranslationitem(translationid,key,display) SELECT t.id, 'SaveAs', 'Save as' FROM atranslation t where t.baselanguage = 'en'");
|
||||||
|
|
||||||
|
//spanish translations
|
||||||
|
await ExecQueryAsync("INSERT INTO atranslationitem(translationid,key,display) SELECT t.id, 'SaveAs', 'Guardar como' FROM atranslation t where t.baselanguage = 'es'");
|
||||||
|
|
||||||
|
//french translations
|
||||||
|
await ExecQueryAsync("INSERT INTO atranslationitem(translationid,key,display) SELECT t.id, 'SaveAs', 'Enregistrer sous' FROM atranslation t where t.baselanguage = 'fr'");
|
||||||
|
|
||||||
|
//german translations
|
||||||
|
await ExecQueryAsync("INSERT INTO atranslationitem(translationid,key,display) SELECT t.id, 'SaveAs', 'Speichern unter' 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