Prechádzať zdrojové kódy

! No point keeping the most_on index when we're not using it as per Mantis 4640.

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer 11 rokov pred
rodič
commit
31cd685b6b

+ 1 - 2
other/install_2-1_mysql.sql

@@ -777,8 +777,7 @@ CREATE TABLE {$db_prefix}log_activity (
   posts smallint(5) unsigned NOT NULL default '0',
   registers smallint(5) unsigned NOT NULL default '0',
   most_on smallint(5) unsigned NOT NULL default '0',
-  PRIMARY KEY (date),
-  KEY most_on (most_on)
+  PRIMARY KEY (date)
 ) ENGINE=MyISAM;
 
 #

+ 0 - 5
other/install_2-1_postgresql.sql

@@ -1012,11 +1012,6 @@ CREATE TABLE {$db_prefix}log_activity (
   PRIMARY KEY (date)
 );
 
-#
-# Indexes for table `log_activity`
-#
-CREATE INDEX {$db_prefix}log_activity_most_on ON {$db_prefix}log_activity (most_on);
-
 #
 # Sequence for table `log_banned`
 #

+ 0 - 5
other/install_2-1_sqlite.sql

@@ -807,11 +807,6 @@ CREATE TABLE {$db_prefix}log_activity (
   PRIMARY KEY (date)
 );
 
-#
-# Indexes for table `log_activity`
-#
-CREATE INDEX {$db_prefix}log_activity_most_on ON {$db_prefix}log_activity (most_on);
-
 #
 # Table structure for table `log_banned`
 #

+ 0 - 5
other/install_2-1_sqlite3.sql

@@ -807,11 +807,6 @@ CREATE TABLE {$db_prefix}log_activity (
   PRIMARY KEY (date)
 );
 
-#
-# Indexes for table `log_activity`
-#
-CREATE INDEX {$db_prefix}log_activity_most_on ON {$db_prefix}log_activity (most_on);
-
 #
 # Table structure for table `log_banned`
 #