This commit is contained in:
@@ -23,7 +23,7 @@ namespace AyaNova.Util
|
||||
private const int DESIRED_SCHEMA_LEVEL = 15;
|
||||
|
||||
internal const long EXPECTED_COLUMN_COUNT = 667;
|
||||
internal const long EXPECTED_INDEX_COUNT = 183;
|
||||
internal const long EXPECTED_INDEX_COUNT = 185;
|
||||
|
||||
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!!
|
||||
|
||||
@@ -709,6 +709,8 @@ $BODY$ LANGUAGE PLPGSQL STABLE");
|
||||
//PARTASSEMBLYITEM
|
||||
await ExecQueryAsync("CREATE TABLE apartassemblyitem (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, partassemblyid bigint not null REFERENCES apartassembly on delete cascade, " +
|
||||
"partid bigint not null REFERENCES apart)");
|
||||
await ExecQueryAsync("CREATE INDEX idx_apartassemblyitem_part ON apartassemblyitem(partid)");
|
||||
await ExecQueryAsync("CREATE INDEX idx_apartassemblyitem_partassembly ON apartassemblyitem(partassemblyid)");
|
||||
|
||||
//PROJECT
|
||||
await ExecQueryAsync("CREATE TABLE aproject (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, name text not null unique, active bool not null, " +
|
||||
|
||||
Reference in New Issue
Block a user