This commit is contained in:
@@ -41,6 +41,8 @@ namespace Sockeye.Biz
|
|||||||
FileAttachment = 17,
|
FileAttachment = 17,
|
||||||
DataListSavedFilter = 18,
|
DataListSavedFilter = 18,
|
||||||
FormCustom = 19,
|
FormCustom = 19,
|
||||||
|
[CoreBizObject, ReportableBizObject, ImportableBizObject]
|
||||||
|
Vendor = 33,
|
||||||
GlobalOps = 47,//really only used for rights, not an object type of any kind
|
GlobalOps = 47,//really only used for rights, not an object type of any kind
|
||||||
BizMetrics = 48,//deprecate? Not used for anything as of nov 2020
|
BizMetrics = 48,//deprecate? Not used for anything as of nov 2020
|
||||||
Backup = 49,
|
Backup = 49,
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ namespace Sockeye.Util
|
|||||||
//!!!!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 = 16;
|
private const int DESIRED_SCHEMA_LEVEL = 16;
|
||||||
|
|
||||||
internal const long EXPECTED_COLUMN_COUNT = 500;
|
internal const long EXPECTED_COLUMN_COUNT = 501;
|
||||||
internal const long EXPECTED_INDEX_COUNT = 71;
|
internal const long EXPECTED_INDEX_COUNT = 71;
|
||||||
internal const long EXPECTED_CHECK_CONSTRAINTS = 234;
|
internal const long EXPECTED_CHECK_CONSTRAINTS = 234;
|
||||||
internal const long EXPECTED_FOREIGN_KEY_CONSTRAINTS = 34;
|
internal const long EXPECTED_FOREIGN_KEY_CONSTRAINTS = 34;
|
||||||
@@ -31,7 +31,7 @@ namespace Sockeye.Util
|
|||||||
|
|
||||||
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImportingAsync WHEN NEW TABLES ADDED!!!!
|
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImportingAsync WHEN NEW TABLES ADDED!!!!
|
||||||
|
|
||||||
///////////////////////////////////////// (C500:I71:CC234:FC34:V0:R2)
|
///////////////////////////////////////// (C501:I71:CC234:FC34:V0:R2)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
@@ -690,6 +690,7 @@ BEGIN
|
|||||||
when 17 then aytable = 'afileattachment'; aynamecolumn ='displayfilename';
|
when 17 then aytable = 'afileattachment'; aynamecolumn ='displayfilename';
|
||||||
when 18 then aytable = 'adatalistsavedfilter';
|
when 18 then aytable = 'adatalistsavedfilter';
|
||||||
when 19 then aytable = 'aformcustom'; aynamecolumn = 'formkey';
|
when 19 then aytable = 'aformcustom'; aynamecolumn = 'formkey';
|
||||||
|
when 33 then aytable = 'avendor';
|
||||||
when 47 then aytkey= 'GlobalOps';
|
when 47 then aytkey= 'GlobalOps';
|
||||||
when 48 then aytkey= 'BizMetrics';
|
when 48 then aytkey= 'BizMetrics';
|
||||||
when 49 then aytkey= 'Backup';
|
when 49 then aytkey= 'Backup';
|
||||||
@@ -844,6 +845,7 @@ $BODY$ LANGUAGE PLPGSQL STABLE");
|
|||||||
await ExecQueryAsync("ALTER TABLE aglobalbizsettings ADD COLUMN addresspostal TEXT;");
|
await ExecQueryAsync("ALTER TABLE aglobalbizsettings ADD COLUMN addresspostal TEXT;");
|
||||||
await ExecQueryAsync("ALTER TABLE acustomer ADD COLUMN addresspostal TEXT;");
|
await ExecQueryAsync("ALTER TABLE acustomer ADD COLUMN addresspostal TEXT;");
|
||||||
await ExecQueryAsync("ALTER TABLE aheadoffice ADD COLUMN addresspostal TEXT;");
|
await ExecQueryAsync("ALTER TABLE aheadoffice ADD COLUMN addresspostal TEXT;");
|
||||||
|
await ExecQueryAsync("ALTER TABLE avendor ADD COLUMN addresspostal TEXT;");
|
||||||
|
|
||||||
//english translations
|
//english translations
|
||||||
await ExecQueryAsync("INSERT INTO atranslationitem(translationid,key,display) SELECT t.id, 'AddressPostal', 'Postal / ZIP code' FROM atranslation t where t.baselanguage = 'en'");
|
await ExecQueryAsync("INSERT INTO atranslationitem(translationid,key,display) SELECT t.id, 'AddressPostal', 'Postal / ZIP code' FROM atranslation t where t.baselanguage = 'en'");
|
||||||
|
|||||||
Reference in New Issue
Block a user