Fixed woocommerce_sessions primary key, closes #11999

This commit is contained in:
Claudio Sanches 2016-10-04 12:26:57 -03:00
parent 8f7816a8e4
commit dc3dbefa94
1 changed files with 2 additions and 2 deletions

View File

@ -443,8 +443,8 @@ CREATE TABLE {$wpdb->prefix}woocommerce_sessions (
session_key char(32) NOT NULL,
session_value longtext NOT NULL,
session_expiry bigint(20) NOT NULL,
UNIQUE KEY session_id (session_id),
PRIMARY KEY (session_key)
PRIMARY KEY (session_key),
UNIQUE KEY session_id (session_id)
) $collate;
CREATE TABLE {$wpdb->prefix}woocommerce_api_keys (
key_id bigint(20) NOT NULL auto_increment,