This commit is contained in:
@@ -22,7 +22,7 @@ namespace AyaNova.Util
|
||||
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!!
|
||||
private const int DESIRED_SCHEMA_LEVEL = 15;
|
||||
|
||||
internal const long EXPECTED_COLUMN_COUNT = 667;
|
||||
internal const long EXPECTED_COLUMN_COUNT = 666;
|
||||
internal const long EXPECTED_INDEX_COUNT = 115;
|
||||
|
||||
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!!
|
||||
@@ -662,7 +662,7 @@ $BODY$ LANGUAGE PLPGSQL STABLE");
|
||||
"notes text, wiki text, customfields text, tags varchar(255) ARRAY, " +
|
||||
"partnumber text not null unique, manufacturerid bigint REFERENCES avendor, manufacturernumber text, " +
|
||||
"wholesalerid bigint REFERENCES avendor, wholesalernumber text, alternativewholesalerid bigint REFERENCES avendor, alternativewholesalernumber text, " +
|
||||
"cost decimal(19,4) not null, retail decimal(19,4) not null, unitofmeasure text, upc text, trackserialnumber bool not null " +
|
||||
"cost decimal(19,4) not null, retail decimal(19,4) not null, unitofmeasure text, upc text " +
|
||||
" )");
|
||||
|
||||
//PARTASSEMBLY
|
||||
|
||||
@@ -1522,7 +1522,7 @@ namespace AyaNova.Util
|
||||
o.Retail = o.Cost * 1.2m;
|
||||
o.UnitOfMeasure = "each";
|
||||
|
||||
o.TrackSerialNumber = false;
|
||||
|
||||
|
||||
//This seems wrong to do in a loop but is 4 times faster this way ?!?
|
||||
using (AyContext ct = ServiceProviderProvider.DBContext)
|
||||
|
||||
Reference in New Issue
Block a user