Fixed bad fields in images table (featured, selected)
authorChuck Scott <cscott@gaslightmedia.com>
Tue, 26 Jan 2016 16:24:27 +0000 (11:24 -0500)
committerChuck Scott <cscott@gaslightmedia.com>
Tue, 26 Jan 2016 16:24:27 +0000 (11:24 -0500)
setup/databaseScripts/create_database_V1.0.43.sql

index d9eb943..23e3da2 100644 (file)
@@ -283,8 +283,8 @@ CREATE TABLE {prefix}images (
   id INT NOT NULL AUTO_INCREMENT,
   name TINYTEXT NULL,                       -- Original name of the image - might be URL if copied via HTTP
   status TINYINT(1) NULL,                   -- Display/Use status - See plugin.ini status table
-  selected_image BOOLEAN NULL,               -- A single special image in the current gallery for this entity
-  featured_image BOOLEAN null,              -- Image is a member of a group of featured images
+  selected BOOLEAN NULL,                    -- A single special image in the current gallery for this entity
+  featured BOOLEAN null,                    -- Image is a member of a group of featured images
   file_name TINYTEXT NULL,                  -- Stored file name for the image
   descr TEXT NULL,                          -- Description 
   caption TINYTEXT NULL,                    -- Caption for the image