Fixing index on field that were removed.
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 29 Nov 2017 18:50:07 +0000 (13:50 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 29 Nov 2017 18:50:07 +0000 (13:50 -0500)
Removing all indexes for reg_time that don't exists in the table setup.

setup/databaseScripts/create_database_V0.0.19.sql

index cbdcede..2cc4f23 100644 (file)
@@ -449,8 +449,7 @@ CREATE TABLE {prefix}reg_request_event (
     notes TEXT NULL,                                            -- System operator's notes for this registration request
     PRIMARY KEY (id),
     INDEX (reg_request),
-    INDEX (reg_event),
-    INDEX (reg_time)
+    INDEX (reg_event)
 );
 
 ----
@@ -467,7 +466,6 @@ CREATE TABLE {prefix}reg_request_class (
     notes TEXT NULL,                                            -- System operator's notes for this registration request
     PRIMARY KEY (id),
     INDEX (reg_event),
-    INDEX (reg_time),
     INDEX (reg_request_event)
 );
 
@@ -489,7 +487,6 @@ CREATE TABLE {prefix}reg_request_rate (
     notes TEXT NULL,                                            -- System operator's notes for this registration request
     PRIMARY KEY (id),
     INDEX (reg_event),
-    INDEX (reg_time),
     INDEX (reg_request_event),
     INDEX (reg_request_class)
 );