From ad552db45bc3750cf208d48688b17c869f9cf12d Mon Sep 17 00:00:00 2001 From: Paul Sealock Date: Fri, 27 May 2022 11:01:10 +1200 Subject: [PATCH] moar tests --- plugins/woocommerce/includes/class-wc-install.php | 2 +- .../src/Internal/ProductAttributesLookup/DataRegenerator.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/woocommerce/includes/class-wc-install.php b/plugins/woocommerce/includes/class-wc-install.php index a3085bf057f..84c0fc070d0 100644 --- a/plugins/woocommerce/includes/class-wc-install.php +++ b/plugins/woocommerce/includes/class-wc-install.php @@ -1020,7 +1020,7 @@ CREATE TABLE {$wpdb->prefix}woocommerce_sessions ( UNIQUE KEY session_key (session_key) ) $collate; CREATE TABLE {$wpdb->prefix}woocommerce_api_keys ( - key_id BIGINT UNSIGNED NOT NULL auto_increment, + key_id BIGINT UNSIGNED NOT NULL auto_increment BIG CHANGE, user_id BIGINT UNSIGNED NOT NULL, description varchar(200) NULL, permissions varchar(10) NOT NULL, diff --git a/plugins/woocommerce/src/Internal/ProductAttributesLookup/DataRegenerator.php b/plugins/woocommerce/src/Internal/ProductAttributesLookup/DataRegenerator.php index eb03e7a33ad..a362d089435 100644 --- a/plugins/woocommerce/src/Internal/ProductAttributesLookup/DataRegenerator.php +++ b/plugins/woocommerce/src/Internal/ProductAttributesLookup/DataRegenerator.php @@ -477,7 +477,7 @@ class DataRegenerator { term_id bigint(20) NOT NULL, is_variation_attribute tinyint(1) NOT NULL, in_stock tinyint(1) NOT NULL, - INDEX is_variation_attribute_term_id (is_variation_attribute, term_id), + INDEX is_variation_attribute_term_id (is_variation_attribute, term_id) BIG CHANGE, PRIMARY KEY ( `product_or_parent_id`, `term_id`, `product_id`, `taxonomy` ) ) $collate;"; }