This commit is contained in:
@@ -684,7 +684,7 @@ $BODY$ LANGUAGE PLPGSQL STABLE");
|
||||
"notes text, wiki text, customfields text, tags varchar(255) ARRAY, " +
|
||||
"partnumber text not null unique, popupnotes text, 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, unitofmeasureid REFERENCES aunitofmeasure, upc text, trackserialnumber bool not null " +
|
||||
"cost decimal(19,4) not null, retail decimal(19,4) not null, unitofmeasure text, upc text, trackserialnumber bool not null " +
|
||||
" )");
|
||||
await ExecQueryAsync("CREATE UNIQUE INDEX apart_name_id_idx ON apart (id, name);");
|
||||
await ExecQueryAsync("CREATE INDEX apart_tags ON apart using GIN(tags)");
|
||||
|
||||
Reference in New Issue
Block a user