Resetting database to V0.0.1
authorChuck Scott <cscott@gaslightmedia.com>
Fri, 3 Mar 2017 19:51:30 +0000 (14:51 -0500)
committerChuck Scott <cscott@gaslightmedia.com>
Fri, 3 Mar 2017 19:51:30 +0000 (14:51 -0500)
index.php
setup/databaseScripts/dbVersions.php
setup/databaseScripts/drop_database_V0.0.1.sql [new file with mode: 0644]

index 6634acb..5922ddd 100644 (file)
--- a/index.php
+++ b/index.php
@@ -38,7 +38,7 @@
  *  version from this plugin.
  */
 define('GLM_MEMBERS_REGISTRATIONS_PLUGIN_VERSION', '0.0.1');
-define('GLM_MEMBERS_REGISTRATIONS_PLUGIN_DB_VERSION', '0.0.3');
+define('GLM_MEMBERS_REGISTRATIONS_PLUGIN_DB_VERSION', '0.0.1');
 
 // This is the minimum version of the GLM Members DB plugin require for this plugin.
 define('GLM_MEMBERS_REGISTRATIONS_PLUGIN_MIN_MEMBERS_REQUIRED_VERSION', '2.8.0');
index 25bea06..90ea7b7 100644 (file)
@@ -14,7 +14,7 @@
  */
 
 $glmMembersRegistrationsDbVersions = array(
-    '0.0.1' => array('version' => '0.0.1', 'tables' => 18, 'date' => '03/2/2017')
+    '0.0.1' => array('version' => '0.0.1', 'tables' => 18, 'date' => '03/3/2017')
 );
 
 
diff --git a/setup/databaseScripts/drop_database_V0.0.1.sql b/setup/databaseScripts/drop_database_V0.0.1.sql
new file mode 100644 (file)
index 0000000..eb608ea
--- /dev/null
@@ -0,0 +1,27 @@
+-- Gaslight Media Members Database
+-- File Created: 12/09/14 15:27:15
+-- Database Version: 1.1.23
+-- Database Deletion Script
+-- Note: Tables with DELETE CASCADE must appear before referenced table
+
+DROP TABLE IF EXISTS
+    {prefix}management,
+    {prefix}settings_terms,
+    {prefix}misc,
+    {prefix}added_info_fields,
+    {prefix}added_info_data,
+    {prefix}magicform,
+    {prefix}mf_data,
+    {prefix}mf_temp_file,
+    {prefix}payment_code,
+    {prefix}reg_event,
+    {prefix}reg_class,
+    {prefix}reg_rates,
+    {prefix}account,
+    {prefix}reg_request,
+    {prefix}reg_request_event,
+    {prefix}reg_request_class,
+    {prefix}reg_request_rate,
+    {prefix}reg_request_registrant
+;
+