1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-14 09:32:17 +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
commit cdc66797f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
# --------------------------------------------------------