1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 11:50:30 +02:00

Merge pull request #2865 from lonalore/sql

Possible fix for Issue #2860 - Add more indexes.
This commit is contained in:
Cameron
2017-11-14 12:35:58 -08:00
committed by GitHub

4
e107_core/sql/core_sql.php Normal file → Executable file
View File

@@ -364,7 +364,9 @@ CREATE TABLE online (
online_active int(10) unsigned NOT NULL default '0',
online_agent varchar(255) NOT NULL default '',
online_language varchar(2) NOT NULL default '',
KEY online_ip (online_ip)
KEY online_ip (online_ip),
KEY online_user_id (online_user_id),
KEY online_timestamp (online_timestamp)
) ENGINE=InnoDB;
# --------------------------------------------------------