Set max index length on woocommerce_payment_tokenmeta

This commit is contained in:
Mike Jolley 2016-06-17 15:00:19 +01:00
parent 291a997161
commit 2267f96134
1 changed files with 1 additions and 1 deletions

View File

@ -560,7 +560,7 @@ CREATE TABLE {$wpdb->prefix}woocommerce_payment_tokenmeta (
meta_value longtext NULL,
PRIMARY KEY (meta_id),
KEY payment_token_id (payment_token_id),
KEY meta_key (meta_key)
KEY meta_key (meta_key($max_index_length))
) $collate;
";