Merge pull request #32041 from woocommerce/add/rate-limit-remaining-column

Add rate_limit_remaining column to wc_rate_limits table
This commit is contained in:
Vedanshu Jain 2022-03-11 20:46:41 +05:30 committed by GitHub
commit e8e5823423
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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;