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:
commit
be202c3ced
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue