Merge pull request #3591 from Gator92/tax_rate_foreign_key

Adds an index to the foreign key in table woocommerce_tax_rate_locations
This commit is contained in:
Mike Jolley 2013-08-06 03:47:38 -07:00
commit be202c3ced
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;