Commit 0228a007 authored by mkanat%kerio.com's avatar mkanat%kerio.com

Fix for Bug 284850: Fix the name of one index

Patch By Max Kanat-Alexander <mkanat@bugzilla.org> a=justdave
parent 64be6114
......@@ -2845,7 +2845,7 @@ if ($dbh->bz_get_field_def("products", "product")) {
print "Adding indexes for products and components tables.\n";
$dbh->do("CREATE UNIQUE INDEX products_name_idx ON products(name)");
$dbh->do("CREATE UNIQUE INDEX component_product_id_idx"
$dbh->do("CREATE UNIQUE INDEX components_product_id_idx"
. " ON components(product_id, name)");
$dbh->do("CREATE INDEX components_name_idx ON components(name)");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment