Update the drop database sql file.
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 15 Jun 2016 20:24:27 +0000 (16:24 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Thu, 16 Jun 2016 19:43:00 +0000 (15:43 -0400)
Have to have the same version as the create version sql file.

index.php
setup/databaseScripts/drop_database_V1.1.8.sql [deleted file]
setup/databaseScripts/drop_database_V1.1.9.sql [new file with mode: 0644]
setup/databaseScripts/readme.txt

index fb03507..1778ecd 100644 (file)
--- 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 <cscott@gaslightmedia.com>
  * @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 (file)
index 1001033..0000000
+++ /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 (file)
index 0000000..1001033
--- /dev/null
@@ -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
+;
+
index ec232a0..f1c238e 100644 (file)
@@ -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)