Update one more for primary key issues
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 15 Jun 2017 17:54:52 +0000 (13:54 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 15 Jun 2017 17:54:52 +0000 (13:54 -0400)
Updating the cache table primary key to be not null.

setup/databaseScripts/create_database_V1.1.31.sql

index 108162d..8317b40 100644 (file)
@@ -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)),