Merge pull request #9523 from om4james/duplicatekeyerror
Fix duplicate key errors during db upgrade/install
This commit is contained in:
commit
d2aae50a84
|
@ -367,8 +367,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 (session_key)
|
||||
UNIQUE KEY session_id (session_id),
|
||||
PRIMARY KEY (session_key)
|
||||
) $collate;
|
||||
CREATE TABLE {$wpdb->prefix}woocommerce_api_keys (
|
||||
key_id bigint(20) NOT NULL auto_increment,
|
||||
|
|
Loading…
Reference in New Issue