From 3450112f39ca3dbfe8432a0c80e5df5a5ec87805 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Tue, 8 Mar 2022 12:25:54 +0000 Subject: [PATCH] Add rate_limit_remaining column to wc_rate_limits table --- plugins/woocommerce/includes/class-wc-install.php | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/woocommerce/includes/class-wc-install.php b/plugins/woocommerce/includes/class-wc-install.php index 9186ac8d8d1..6bf03fb7b88 100644 --- a/plugins/woocommerce/includes/class-wc-install.php +++ b/plugins/woocommerce/includes/class-wc-install.php @@ -1068,6 +1068,7 @@ CREATE TABLE {$wpdb->prefix}wc_rate_limits ( rate_limit_id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, rate_limit_key varchar(200) NOT NULL, rate_limit_expiry BIGINT UNSIGNED NOT NULL, + rate_limit_remaining smallint(10) NOT NULL DEFAULT '0', PRIMARY KEY (rate_limit_id), UNIQUE KEY rate_limit_key (rate_limit_key($max_index_length)) ) $collate;