Add rate_limit_remaining column to wc_rate_limits table

This commit is contained in:
Mike Jolley 2022-03-08 12:25:54 +00:00
parent aa8b7a4a6b
commit 3450112f39
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;