Adds an index to the foreign key in table woocommerce_tax_rate_locations

This commit is contained in:
Schuyler Langdon 2013-08-06 00:18:41 -04:00
parent 110d8c3026
commit b4c2149428
1 changed files with 2 additions and 1 deletions

View File

@ -403,6 +403,7 @@ class WC_Install {
tax_rate_id bigint(20) NOT NULL,
location_type varchar(40) NOT NULL,
PRIMARY KEY (location_id),
KEY tax_rate_id (tax_rate_id),
KEY location_type (location_type),
KEY location_type_code (location_type,location_code)
) $collate;
@ -622,4 +623,4 @@ class WC_Install {
endif;
return new WC_Install();
return new WC_Install();