Updated create database script to correct version.
authorChuck Scott <cscott@gaslightmedia.com>
Thu, 9 Aug 2018 18:59:05 +0000 (14:59 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Thu, 9 Aug 2018 18:59:05 +0000 (14:59 -0400)
index.php
readme.txt
setup/databaseScripts/create_database_V0.0.3.sql [deleted file]
setup/databaseScripts/create_database_V0.0.5.sql [new file with mode: 0644]

index a68971b..7fe037f 100644 (file)
--- a/index.php
+++ b/index.php
@@ -3,7 +3,7 @@
  * Plugin Name: GLM Associate - OpenSearchServer Add-On
  * Plugin URI: http://www.gaslightmedia.com/
  * Description: Gaslight Media Members Database.
- * Version: 2.0.1
+ * Version: 2.0.2
  * Author: Gaslight Media
  * Author URI: http://www.gaslightmedia.com/
  * License: GPL2
@@ -43,7 +43,7 @@ if (!defined('ABSPATH')) {
  *  so that we're sure the other add-ons see an up to date
  *  version from this plugin.
  */
-define('GLM_MEMBERS_SEARCH_PLUGIN_VERSION', '2.0.1');
+define('GLM_MEMBERS_SEARCH_PLUGIN_VERSION', '2.0.2');
 define('GLM_MEMBERS_SEARCH_PLUGIN_DB_VERSION', '0.0.5');
 
 // This is the minimum version of the GLM Members DB plugin require for this plugin.
index 0507892..868033b 100644 (file)
@@ -32,6 +32,10 @@ e.g.
 1. Activate the plugin through the 'Plugins' menu in WordPress
 
 == Changelog ==
+= 2.0.2 =
+
+* Updated create database script to correct version.
+
 = 2.0.1 =
 
 * Fixed missing selected URL filter (Search only...) when clicking "Previous" and "Next" results links.
diff --git a/setup/databaseScripts/create_database_V0.0.3.sql b/setup/databaseScripts/create_database_V0.0.3.sql
deleted file mode 100644 (file)
index 10637da..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
--- Gaslight Media Members Database - Search 
--- File Created: 12/02/15 15:27:15
--- Database Version: 0.0.1
--- Database Creation Script
--- 
--- To permit each query below to be executed separately,
--- all queries must be separated by a line with four dashes
-
--- Search Management Settings
-CREATE TABLE {prefix}management (
-  id INT NOT NULL AUTO_INCREMENT,
-  server TINYTEXT NULL,                 -- OSS Search Server URL
-  search_index TINYTEXT NULL,           -- OSS Search Index to use (normally "Index_1")
-  website TINYTEXT NULL,                -- Hostname for the Website
-  exclude_home_page BOOLEAN NULL,       -- Flag to say whether to exclude home page from search results
-  numb_rows SMALLINT NULL,              -- Number of rows to show per page in results
-  login TINYTEXT NULL,                  -- OSS API Login 
-  login_key TINYTEXT NULL,              -- OSS API Login Key
-  url_filters text NULL,                -- URL filters that may be selected by user (one per line as "Title, {urlfilter}" 
-  PRIMARY KEY (id)
-);
-
-----
-
--- Set default package management entry
-INSERT INTO {prefix}management
-    ( id, search_index, website, exclude_home_page, numb_rows, login, login_key )
-   VALUES
-    ( 1, 'Index_2', 'www.gaslightmedia.com', true, 20, 'WebsiteServices', '829800701e8440b67a78e3afbefa1049' )
-;
diff --git a/setup/databaseScripts/create_database_V0.0.5.sql b/setup/databaseScripts/create_database_V0.0.5.sql
new file mode 100644 (file)
index 0000000..10637da
--- /dev/null
@@ -0,0 +1,30 @@
+-- Gaslight Media Members Database - Search 
+-- File Created: 12/02/15 15:27:15
+-- Database Version: 0.0.1
+-- Database Creation Script
+-- 
+-- To permit each query below to be executed separately,
+-- all queries must be separated by a line with four dashes
+
+-- Search Management Settings
+CREATE TABLE {prefix}management (
+  id INT NOT NULL AUTO_INCREMENT,
+  server TINYTEXT NULL,                 -- OSS Search Server URL
+  search_index TINYTEXT NULL,           -- OSS Search Index to use (normally "Index_1")
+  website TINYTEXT NULL,                -- Hostname for the Website
+  exclude_home_page BOOLEAN NULL,       -- Flag to say whether to exclude home page from search results
+  numb_rows SMALLINT NULL,              -- Number of rows to show per page in results
+  login TINYTEXT NULL,                  -- OSS API Login 
+  login_key TINYTEXT NULL,              -- OSS API Login Key
+  url_filters text NULL,                -- URL filters that may be selected by user (one per line as "Title, {urlfilter}" 
+  PRIMARY KEY (id)
+);
+
+----
+
+-- Set default package management entry
+INSERT INTO {prefix}management
+    ( id, search_index, website, exclude_home_page, numb_rows, login, login_key )
+   VALUES
+    ( 1, 'Index_2', 'www.gaslightmedia.com', true, 20, 'WebsiteServices', '829800701e8440b67a78e3afbefa1049' )
+;