Fix coding/WP standard for primary key definitions - there must be two spaces between the words PRIMARY key and the definition.

This commit is contained in:
Justin Shreve 2016-02-03 11:57:23 -08:00
parent 204922e2ae
commit f9b19234b0
1 changed files with 2 additions and 2 deletions

View File

@ -494,14 +494,14 @@ CREATE TABLE IF NOT EXISTS {$wpdb->prefix}woocommerce_payment_tokens (
`customer_id` bigint(20) NOT NULL,
`type` varchar(255) NOT NULL,
`is_default` tinyint(1) NOT NULL,
PRIMARY KEY (token_id)
PRIMARY KEY (token_id)
) $collate;
CREATE TABLE IF NOT EXISTS {$wpdb->prefix}woocommerce_payment_token_meta (
`meta_id` bigint(20) NOT NULL auto_increment,
`token_id` bigint(20) NOT NULL,
`meta_key` varchar(255) NOT NULL,
`meta_value` text NOT NULL,
PRIMARY KEY (meta_id)
PRIMARY KEY (meta_id)
) $collate;
";
}