From: Steve Sutton Date: Thu, 15 Jun 2017 17:54:52 +0000 (-0400) Subject: Update one more for primary key issues X-Git-Tag: v2.9.19^2~2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=14ebd9ea76cbccc85386aa560f56ba1ce577f5ff;p=WP-Plugins%2Fglm-member-db.git Update one more for primary key issues Updating the cache table primary key to be not null. --- diff --git a/setup/databaseScripts/create_database_V1.1.31.sql b/setup/databaseScripts/create_database_V1.1.31.sql index 108162de..8317b40f 100644 --- a/setup/databaseScripts/create_database_V1.1.31.sql +++ b/setup/databaseScripts/create_database_V1.1.31.sql @@ -591,7 +591,7 @@ INSERT INTO {prefix}settings_terms -- Shortcode Output Cache CREATE TABLE {prefix}cache ( shortcode TINYTEXT NULL, - cache_code TINYTEXT NULL, + cache_code TINYTEXT NOT NULL, created DATETIME NULL, html MEDIUMTEXT NULL, PRIMARY KEY (cache_code(20)),