From: Steve Sutton Date: Wed, 15 Jun 2016 20:24:27 +0000 (-0400) Subject: Update the drop database sql file. X-Git-Tag: v2.1.3^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=859a41082f5c3c998fc09f0effc3e3bf4e7eee9c;p=WP-Plugins%2Fglm-member-db.git Update the drop database sql file. Have to have the same version as the create version sql file. --- diff --git a/index.php b/index.php index fb03507f..1778ecd1 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ * Plugin Name: GLM Members Database * Plugin URI: http://www.gaslightmedia.com/ * Description: Gaslight Media Members Database. - * Version: 2.1.2 + * Version: 2.1.3 * Author: Gaslight Media * Author URI: http://www.gaslightmedia.com/ * License: GPL2 @@ -19,7 +19,7 @@ * @package glmMembersDatabase * @author Chuck Scott * @license http://www.gaslightmedia.com Gaslightmedia - * @version 2.1.2 + * @version 2.1.3 */ /* @@ -38,7 +38,7 @@ * */ -define('GLM_MEMBERS_PLUGIN_VERSION', '2.1.2'); +define('GLM_MEMBERS_PLUGIN_VERSION', '2.1.3'); define('GLM_MEMBERS_PLUGIN_DB_VERSION', '1.1.9'); // Check if plugin version is not current in WordPress option and if needed updated it diff --git a/setup/databaseScripts/drop_database_V1.1.8.sql b/setup/databaseScripts/drop_database_V1.1.8.sql deleted file mode 100644 index 10010336..00000000 --- a/setup/databaseScripts/drop_database_V1.1.8.sql +++ /dev/null @@ -1,23 +0,0 @@ --- Gaslight Media Members Database --- File Created: 12/09/14 15:27:15 --- Database Version: 1.1.5 --- Database Deletion Script --- Note: Tables with DELETE CASCADE must appear before referenced table - -DROP TABLE IF EXISTS - {prefix}amenities, - {prefix}amenity_ref, - {prefix}category_member_info, - {prefix}cities, - {prefix}images, - {prefix}files, - {prefix}members, - {prefix}member_info, - {prefix}member_type, - {prefix}regions, - {prefix}settings_general, - {prefix}settings_terms, - {prefix}settings_theme, - {prefix}categories -; - diff --git a/setup/databaseScripts/drop_database_V1.1.9.sql b/setup/databaseScripts/drop_database_V1.1.9.sql new file mode 100644 index 00000000..10010336 --- /dev/null +++ b/setup/databaseScripts/drop_database_V1.1.9.sql @@ -0,0 +1,23 @@ +-- Gaslight Media Members Database +-- File Created: 12/09/14 15:27:15 +-- Database Version: 1.1.5 +-- Database Deletion Script +-- Note: Tables with DELETE CASCADE must appear before referenced table + +DROP TABLE IF EXISTS + {prefix}amenities, + {prefix}amenity_ref, + {prefix}category_member_info, + {prefix}cities, + {prefix}images, + {prefix}files, + {prefix}members, + {prefix}member_info, + {prefix}member_type, + {prefix}regions, + {prefix}settings_general, + {prefix}settings_terms, + {prefix}settings_theme, + {prefix}categories +; + diff --git a/setup/databaseScripts/readme.txt b/setup/databaseScripts/readme.txt index ec232a08..f1c238e2 100644 --- a/setup/databaseScripts/readme.txt +++ b/setup/databaseScripts/readme.txt @@ -38,4 +38,7 @@ Procedure to update database 8) Go to an admin menu item for the main member db plugin or any add-on. If all goes well, the main plugin should have detected the change and updated the database. If not, restore the database and try again. + 9) Check the database to make sure the changes to fields and data are correct. + +10) Rename the drop_database_Vx.x.x.sql to new version number (same as create)